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

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20200903162412.2.I226782b43191ce367fa3bc1c907c29f571890412@changeid
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-brcmstb.c
drivers/mmc/host/sdhci-pic32.c

index 876668827580870b127a65af98d1c0ff462390d9..bbf3496f44955f333ed2085499d99999403542ab 100644 (file)
@@ -326,6 +326,7 @@ MODULE_DEVICE_TABLE(of, sdhci_brcm_of_match);
 static struct platform_driver sdhci_brcmstb_driver = {
        .driver         = {
                .name   = "sdhci-brcmstb",
+               .probe_type = PROBE_PREFER_ASYNCHRONOUS,
                .pm     = &sdhci_pltfm_pmops,
                .of_match_table = of_match_ptr(sdhci_brcm_of_match),
        },
index a11e6397d4ff815d758c809b76000bdcd4f3421f..6ce1519ae17700b39411caae05211c2827c59801 100644 (file)
@@ -241,6 +241,7 @@ MODULE_DEVICE_TABLE(of, pic32_sdhci_id_table);
 static struct platform_driver pic32_sdhci_driver = {
        .driver = {
                .name   = "pic32-sdhci",
+               .probe_type = PROBE_PREFER_ASYNCHRONOUS,
                .of_match_table = of_match_ptr(pic32_sdhci_id_table),
        },
        .probe          = pic32_sdhci_probe,