Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp913733pxk; Thu, 3 Sep 2020 16:27:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw/qxmhP2Lr0MiOPxgvQFAaoWRdx6RSq2HABcqma5whBFpIC64TUm+euycohJrzeQErKtyJ X-Received: by 2002:a50:bf01:: with SMTP id f1mr5807165edk.369.1599175668512; Thu, 03 Sep 2020 16:27:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599175668; cv=none; d=google.com; s=arc-20160816; b=Zwg5Y1iLZ+kRsdsahsBrARjKJtw36exoBus1wgQ2zNr/FJsWiW8fCjPalPoIaD7FsM PJKdJPee7weZMW+TgnxbCWwa30pzGiAyrSAgLc18cgG8V+6mTGK4mxu80ImD/w2jGW/P gOK0OOooJ3+s3j0gpFkbZE4N/OEakYMpEwUnpiu33dOFUHaY+5RVGpaWTBvzo/gLJLYB gjLetvXYRM/8+MJjXbrOX9PpBHm/s6VDG0arg5mbvgySQVZyxzJ+AkLDP1IHOp/gkaV+ iMMrt2LlTpgvoC2FnCBfX7ArfgcbZBtXMVlFQFYshdUwoYIgyF3KuY6giHZt9qoEHhkx RtKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ak7sgXD1yUS+b4yneXUgmseigL5T/tHURONnrfZ0LI4=; b=gIrDjavM5i5khfTI1SGb1Qa6zhE12jFOvNhlN1ohb32C1aUSE5RU8pbeeYJ1XXyYpF 5sDEZOMVvyjn+JJzaDU+6wCZdLL5l218wcfqJsOGjaBteCNqnVXbQ9B7YW3Ybxa2KOFm a8d8TT4fg9585ZGoH+BAE30pT7V4mpLdFPlZKtpSRj0TNckagWoB7zLIWuYUFjTuVzvX cvD8YvguPhLV0Ik70/8662aOrZ558uXVxeKsYjEBYjD6w5+VNfl4c03iZHFTCQHv9pyv 00kJx892d53LwfDEdKX5cVJVaZ0sDykmb28S9ZBycekmDQgYFFlHwuhsz1mRC4FsY87+ NshA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=VhBq0Pd1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id nr22si2806906ejb.535.2020.09.03.16.27.25; Thu, 03 Sep 2020 16:27:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=VhBq0Pd1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729550AbgICXZh (ORCPT + 99 others); Thu, 3 Sep 2020 19:25:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728988AbgICXZL (ORCPT ); Thu, 3 Sep 2020 19:25:11 -0400 Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49A66C061245 for ; Thu, 3 Sep 2020 16:25:11 -0700 (PDT) Received: by mail-pg1-x543.google.com with SMTP id g29so3349356pgl.2 for ; Thu, 03 Sep 2020 16:25:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ak7sgXD1yUS+b4yneXUgmseigL5T/tHURONnrfZ0LI4=; b=VhBq0Pd1fQUl41cTBulPJPpdxGflwL0G7Gqg1UwnWwh7hC3EHSfa7oPF3xPReYY4jn BAWM7qrieI6Kba9y15jYXktkL7ZlLYJjFqbAHH+2+qgP7TtD6dXZkTSM/dM7KV4y/BQ2 YfsUkkK/A9E3N0HUpkt7fYZBAsf2ixttwmFIU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ak7sgXD1yUS+b4yneXUgmseigL5T/tHURONnrfZ0LI4=; b=c/UKbjOf7QPd3ZtDgrATvvOIM2aQrqKii+jgVDJzgvyFIJezAlyn7Q3Ko+ePCxs5EV 7MqUMfa1Yh8EKajQE5GcKIOVB1kS/M023iFSiT1EYuSEFflvnCtlcmmU/OohlhxSendk qccBlutMXDdHWi9WBdXWfRiyXWCQrDgKo1D6NjH8mEPwyuSPEf8YV0HMH9cObc3G9SGB 1qb/SAk9CSB7lmSNjrk0D9d8/hKDzdG8gPT2Ysr5AiZ8ZcTQFj4yyS+OFk1EYfa0n3bO eaPCfk6A99fZqHllnQa9WNWnlOS6SBt6jThU6R2gEZzrFHel9cGMgx2FhEI3pMI3TvlC Uo7w== X-Gm-Message-State: AOAM531S64erQcJHhRWBFRuN0nOSeZHfF+CrXVYq5iC9eSjjR4TW6/TT JZ6DpHdccXW3HyGuHpYr1OOMBQ== X-Received: by 2002:a62:ea01:: with SMTP id t1mr6001343pfh.125.1599175510807; Thu, 03 Sep 2020 16:25:10 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:15c:202:1:42b0:34ff:fe3d:58e6]) by smtp.gmail.com with ESMTPSA id q7sm3614459pgg.10.2020.09.03.16.25.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Sep 2020 16:25:10 -0700 (PDT) From: Douglas Anderson To: Ulf Hansson Cc: swboyd@chromium.org, Douglas Anderson , Adrian Hunter , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Angelo Dureghello , Jerome Brunet , Kevin Hilman , Lars Povlsen , Manivannan Sadhasivam , Martin Blumenstingl , Microchip Linux Driver Support , Neil Armstrong , Steen Hegelund , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org Subject: [PATCH 6/6] mmc: Set PROBE_PREFER_ASYNCHRONOUS for drivers that are newer than 5.4 Date: Thu, 3 Sep 2020 16:24:41 -0700 Message-Id: <20200903162412.6.Ib121debfb18e5f923a3cd38fe9c36aa086c650c5@changeid> X-Mailer: git-send-email 2.28.0.526.ge36021eeef-goog In-Reply-To: <20200903232441.2694866-1-dianders@chromium.org> References: <20200903232441.2694866-1-dianders@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is like commit 3d3451124f3d ("mmc: sdhci-msm: Prefer asynchronous probe") but applied to a whole pile of drivers. This batch converts the drivers that appeared to have been added after kernel 5.4. Signed-off-by: Douglas Anderson --- drivers/mmc/host/meson-mx-sdhc-mmc.c | 1 + drivers/mmc/host/owl-mmc.c | 1 + drivers/mmc/host/sdhci-esdhc-mcf.c | 1 + drivers/mmc/host/sdhci-milbeaut.c | 1 + drivers/mmc/host/sdhci-of-sparx5.c | 1 + 5 files changed, 5 insertions(+) diff --git a/drivers/mmc/host/meson-mx-sdhc-mmc.c b/drivers/mmc/host/meson-mx-sdhc-mmc.c index 53e3f6a4245a..7cd9c0ec2fcf 100644 --- a/drivers/mmc/host/meson-mx-sdhc-mmc.c +++ b/drivers/mmc/host/meson-mx-sdhc-mmc.c @@ -903,6 +903,7 @@ static struct platform_driver meson_mx_sdhc_driver = { .remove = meson_mx_sdhc_remove, .driver = { .name = "meson-mx-sdhc", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, .of_match_table = of_match_ptr(meson_mx_sdhc_of_match), }, }; diff --git a/drivers/mmc/host/owl-mmc.c b/drivers/mmc/host/owl-mmc.c index df43f42855e2..ccf214a89eda 100644 --- a/drivers/mmc/host/owl-mmc.c +++ b/drivers/mmc/host/owl-mmc.c @@ -689,6 +689,7 @@ MODULE_DEVICE_TABLE(of, owl_mmc_of_match); static struct platform_driver owl_mmc_driver = { .driver = { .name = "owl_mmc", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, .of_match_table = owl_mmc_of_match, }, .probe = owl_mmc_probe, diff --git a/drivers/mmc/host/sdhci-esdhc-mcf.c b/drivers/mmc/host/sdhci-esdhc-mcf.c index 71bf086a9812..ca7a1690b2a8 100644 --- a/drivers/mmc/host/sdhci-esdhc-mcf.c +++ b/drivers/mmc/host/sdhci-esdhc-mcf.c @@ -509,6 +509,7 @@ static int sdhci_esdhc_mcf_remove(struct platform_device *pdev) static struct platform_driver sdhci_esdhc_mcf_driver = { .driver = { .name = "sdhci-esdhc-mcf", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, .probe = sdhci_esdhc_mcf_probe, .remove = sdhci_esdhc_mcf_remove, diff --git a/drivers/mmc/host/sdhci-milbeaut.c b/drivers/mmc/host/sdhci-milbeaut.c index 4e7cc0680f94..148b37ac6564 100644 --- a/drivers/mmc/host/sdhci-milbeaut.c +++ b/drivers/mmc/host/sdhci-milbeaut.c @@ -333,6 +333,7 @@ static int sdhci_milbeaut_remove(struct platform_device *pdev) static struct platform_driver sdhci_milbeaut_driver = { .driver = { .name = "sdhci-milbeaut", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, .of_match_table = of_match_ptr(mlb_dt_ids), }, .probe = sdhci_milbeaut_probe, diff --git a/drivers/mmc/host/sdhci-of-sparx5.c b/drivers/mmc/host/sdhci-of-sparx5.c index 747f108a0ace..28e4ee69e100 100644 --- a/drivers/mmc/host/sdhci-of-sparx5.c +++ b/drivers/mmc/host/sdhci-of-sparx5.c @@ -255,6 +255,7 @@ MODULE_DEVICE_TABLE(of, sdhci_sparx5_of_match); static struct platform_driver sdhci_sparx5_driver = { .driver = { .name = "sdhci-sparx5", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, .of_match_table = sdhci_sparx5_of_match, .pm = &sdhci_pltfm_pmops, }, -- 2.28.0.526.ge36021eeef-goog