mmc: Set PROBE_PREFER_ASYNCHRONOUS for drivers that are newer than 5.4
authorDouglas Anderson <dianders@chromium.org>
Thu, 3 Sep 2020 23:24:41 +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 have been added after kernel 5.4.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Acked-by: Lars Povlsen <lars.povlsen@microchip.com>
Acked-by: Angelo Dureghello <angelo.dureghello@timesys.com>
Acked-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20200903162412.6.Ib121debfb18e5f923a3cd38fe9c36aa086c650c5@changeid
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/meson-mx-sdhc-mmc.c
drivers/mmc/host/owl-mmc.c
drivers/mmc/host/sdhci-esdhc-mcf.c
drivers/mmc/host/sdhci-milbeaut.c
drivers/mmc/host/sdhci-of-sparx5.c

index 53e3f6a4245a69a29e9f696c30f691d46c6c0d0e..7cd9c0ec2fcfe97cd42c0458d9d6f32a67953545 100644 (file)
@@ -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),
        },
 };
index df43f42855e2e87bdfbe254a2640a49564bc5a83..ccf214a89eda9213b0ab9293db330678ccdb1aa4 100644 (file)
@@ -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,
index 71bf086a98120394ecf00cd504005329e822acb0..ca7a1690b2a8a66d2c4c8d94ea356541fcfba1ea 100644 (file)
@@ -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,
index 4e7cc0680f94452444c09105a14951585c346df0..148b37ac6564537f72662b6f2b08ee7f3e06222e 100644 (file)
@@ -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,
index 747f108a0ace77bb9b870d0f8d8695acb53f5473..28e4ee69e1007601f10ced297e221f1223ffeed7 100644 (file)
@@ -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,
        },