mmc: Set PROBE_PREFER_ASYNCHRONOUS for drivers that existed in v4.14
authorDouglas Anderson <dianders@chromium.org>
Thu, 3 Sep 2020 23:24:38 +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.14 timeframe.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com> # SDHI drivers
Link: https://lore.kernel.org/r/20200903162412.3.Id1ff21470f08f427aedd0a6535dcd83ccc56b278@changeid
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/bcm2835.c
drivers/mmc/host/cavium-octeon.c
drivers/mmc/host/dw_mmc-zx.c
drivers/mmc/host/meson-gx-mmc.c
drivers/mmc/host/renesas_sdhi_internal_dmac.c
drivers/mmc/host/renesas_sdhi_sys_dmac.c
drivers/mmc/host/sdhci-cadence.c
drivers/mmc/host/sdhci-xenon.c

index 35320bc9dc0261822c55f24d3ef0438bf38139e2..8c2361e662774ad45bca7dc68d7ee8d64a1dc36b 100644 (file)
@@ -1474,6 +1474,7 @@ static struct platform_driver bcm2835_driver = {
        .remove     = bcm2835_remove,
        .driver     = {
                .name           = "sdhost-bcm2835",
+               .probe_type     = PROBE_PREFER_ASYNCHRONOUS,
                .of_match_table = bcm2835_match,
        },
 };
index e299cdd1e619b45c3c7faf4e823670c59c53ab62..2c4b2df52adb1f774d77296dc9bbc168864f4f05 100644 (file)
@@ -327,6 +327,7 @@ static struct platform_driver octeon_mmc_driver = {
        .remove         = octeon_mmc_remove,
        .driver         = {
                .name   = KBUILD_MODNAME,
+               .probe_type = PROBE_PREFER_ASYNCHRONOUS,
                .of_match_table = octeon_mmc_match,
        },
 };
index d9e483432a61034e16b40570eee6b0fa9caf98ad..51bcc6332f3aa9d057ea108f7d4e4e17444a137e 100644 (file)
@@ -222,6 +222,7 @@ static struct platform_driver dw_mci_zx_pltfm_driver = {
        .remove         = dw_mci_pltfm_remove,
        .driver         = {
                .name           = "dwmmc_zx",
+               .probe_type     = PROBE_PREFER_ASYNCHRONOUS,
                .of_match_table = dw_mci_zx_match,
                .pm             = &dw_mci_zx_dev_pm_ops,
        },
index a68b43082f6112b42f3efb133e90ecbf34cbf5fb..4ec41579940a311395ed43329d98455fc5462e8c 100644 (file)
@@ -1264,6 +1264,7 @@ static struct platform_driver meson_mmc_driver = {
        .remove         = meson_mmc_remove,
        .driver         = {
                .name = DRIVER_NAME,
+               .probe_type = PROBE_PREFER_ASYNCHRONOUS,
                .of_match_table = of_match_ptr(meson_mmc_of_match),
        },
 };
index 8ee6b2b85ec21408608f34cd6022bd916cce7448..fe13e1ea22dccaff7606d4ad8c4b7fa751ffb389 100644 (file)
@@ -353,6 +353,7 @@ static const struct dev_pm_ops renesas_sdhi_internal_dmac_dev_pm_ops = {
 static struct platform_driver renesas_internal_dmac_sdhi_driver = {
        .driver         = {
                .name   = "renesas_sdhi_internal_dmac",
+               .probe_type = PROBE_PREFER_ASYNCHRONOUS,
                .pm     = &renesas_sdhi_internal_dmac_dev_pm_ops,
                .of_match_table = renesas_sdhi_internal_dmac_of_match,
        },
index 13ff023fbee98407cb4c017f471f81033aa2344c..c5f7896753028f3d75b77e8006269ce8f3a36764 100644 (file)
@@ -463,6 +463,7 @@ static const struct dev_pm_ops renesas_sdhi_sys_dmac_dev_pm_ops = {
 static struct platform_driver renesas_sys_dmac_sdhi_driver = {
        .driver         = {
                .name   = "sh_mobile_sdhi",
+               .probe_type = PROBE_PREFER_ASYNCHRONOUS,
                .pm     = &renesas_sdhi_sys_dmac_dev_pm_ops,
                .of_match_table = renesas_sdhi_sys_dmac_of_match,
        },
index 4d9f7681817c1f42561321d28a6f04911d5cffaa..6f2de54a598773879bf339aae8450f63e1251509 100644 (file)
@@ -463,6 +463,7 @@ MODULE_DEVICE_TABLE(of, sdhci_cdns_match);
 static struct platform_driver sdhci_cdns_driver = {
        .driver = {
                .name = "sdhci-cdns",
+               .probe_type = PROBE_PREFER_ASYNCHRONOUS,
                .pm = &sdhci_cdns_pm_ops,
                .of_match_table = sdhci_cdns_match,
        },
index 4703cd540c7fd89dc67b6399c37fce24f88fed5a..24c978de2a3f187df6f2af7acc575af8f62532aa 100644 (file)
@@ -677,6 +677,7 @@ MODULE_DEVICE_TABLE(of, sdhci_xenon_dt_ids);
 static struct platform_driver sdhci_xenon_driver = {
        .driver = {
                .name   = "xenon-sdhci",
+               .probe_type = PROBE_PREFER_ASYNCHRONOUS,
                .of_match_table = sdhci_xenon_dt_ids,
                .pm = &sdhci_xenon_dev_pm_ops,
        },