mmc: Set PROBE_PREFER_ASYNCHRONOUS for drivers that existed in v4.19
authorDouglas Anderson <dianders@chromium.org>
Thu, 3 Sep 2020 23:24:39 +0000 (16:24 -0700)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 7 Sep 2020 12:24:21 +0000 (14:24 +0200)
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 be around in the v4.19 timeframe.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20200903162412.4.I84eb3e0a738635d524c90d1a688087bc295f7c32@changeid
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/dw_mmc-bluefield.c
drivers/mmc/host/dw_mmc-hi3798cv200.c
drivers/mmc/host/meson-mx-sdio.c
drivers/mmc/host/sdhci-of-dwcmshc.c
drivers/mmc/host/sdhci-omap.c

index aa38b1a8017e8c0a522adf49efacd92593f8f22c..10baf122bc15e4b1dddadc2d37c707e11d39c5f0 100644 (file)
@@ -55,6 +55,7 @@ static struct platform_driver dw_mci_bluefield_pltfm_driver = {
        .remove         = dw_mci_pltfm_remove,
        .driver         = {
                .name           = "dwmmc_bluefield",
+               .probe_type     = PROBE_PREFER_ASYNCHRONOUS,
                .of_match_table = dw_mci_bluefield_match,
                .pm             = &dw_mci_pltfm_pmops,
        },
index 83e1bad0a008906a20944cffde7b731f7f1fe96b..39794f93826f543dfdc3739856fcf1fd39694196 100644 (file)
@@ -200,6 +200,7 @@ static struct platform_driver dw_mci_hi3798cv200_driver = {
        .remove = dw_mci_hi3798cv200_remove,
        .driver = {
                .name = "dwmmc_hi3798cv200",
+               .probe_type = PROBE_PREFER_ASYNCHRONOUS,
                .of_match_table = dw_mci_hi3798cv200_match,
        },
 };
index 703d5834f9a526b255adb4bd72c331ef2bd4b166..1c5299cd0cbe1333dc394e0c432a102a884616fd 100644 (file)
@@ -755,6 +755,7 @@ static struct platform_driver meson_mx_mmc_driver = {
        .remove  = meson_mx_mmc_remove,
        .driver  = {
                .name = "meson-mx-sdio",
+               .probe_type = PROBE_PREFER_ASYNCHRONOUS,
                .of_match_table = of_match_ptr(meson_mx_mmc_of_match),
        },
 };
index 64ac0dbee95c96ecafba141048d4598baf75a247..4b673792b5a42ef9b2a5a20ee8152393e93087ad 100644 (file)
@@ -214,6 +214,7 @@ MODULE_DEVICE_TABLE(of, sdhci_dwcmshc_dt_ids);
 static struct platform_driver sdhci_dwcmshc_driver = {
        .driver = {
                .name   = "sdhci-dwcmshc",
+               .probe_type = PROBE_PREFER_ASYNCHRONOUS,
                .of_match_table = sdhci_dwcmshc_dt_ids,
                .pm = &dwcmshc_pmops,
        },
index 1ec74c2d5c17d27ea68901bccbf33ba0a943f77b..7893fd3599b6120c5aaeaded46864de2dbd6db7e 100644 (file)
@@ -1297,6 +1297,7 @@ static struct platform_driver sdhci_omap_driver = {
        .remove = sdhci_omap_remove,
        .driver = {
                   .name = "sdhci-omap",
+                  .probe_type = PROBE_PREFER_ASYNCHRONOUS,
                   .pm = &sdhci_omap_dev_pm_ops,
                   .of_match_table = omap_sdhci_match,
                  },