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 aa38b1a..10baf12 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 83e1bad..39794f9 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 703d583..1c5299c 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 64ac0db..4b67379 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 1ec74c2..7893fd3 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,
                  },