Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mmc: Set PROBE_PREFER_ASYNCHRONOUS for drivers that existed in v5.4

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 v5.4 timeframe.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20200903162412.5.I2b630c4d40ff4ea61d5b30b8ccfe95890e257100@changeid
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

authored by

Douglas Anderson and committed by
Ulf Hansson
d86472ae a1a48919

+6
+1
drivers/mmc/host/alcor.c
··· 1178 1178 .id_table = alcor_pci_sdmmc_ids, 1179 1179 .driver = { 1180 1180 .name = DRV_NAME_ALCOR_PCI_SDMMC, 1181 + .probe_type = PROBE_PREFER_ASYNCHRONOUS, 1181 1182 .pm = &alcor_mmc_pm_ops 1182 1183 }, 1183 1184 };
+2
drivers/mmc/host/sdhci-of-aspeed.c
··· 240 240 static struct platform_driver aspeed_sdhci_driver = { 241 241 .driver = { 242 242 .name = "sdhci-aspeed", 243 + .probe_type = PROBE_PREFER_ASYNCHRONOUS, 243 244 .of_match_table = aspeed_sdhci_of_match, 244 245 }, 245 246 .probe = aspeed_sdhci_probe, ··· 319 318 static struct platform_driver aspeed_sdc_driver = { 320 319 .driver = { 321 320 .name = "sd-controller-aspeed", 321 + .probe_type = PROBE_PREFER_ASYNCHRONOUS, 322 322 .pm = &sdhci_pltfm_pmops, 323 323 .of_match_table = aspeed_sdc_of_match, 324 324 },
+1
drivers/mmc/host/sdhci-sprd.c
··· 787 787 .remove = sdhci_sprd_remove, 788 788 .driver = { 789 789 .name = "sdhci_sprd_r11", 790 + .probe_type = PROBE_PREFER_ASYNCHRONOUS, 790 791 .of_match_table = of_match_ptr(sdhci_sprd_of_match), 791 792 .pm = &sdhci_sprd_pm_ops, 792 793 },
+1
drivers/mmc/host/sdhci_am654.c
··· 745 745 static struct platform_driver sdhci_am654_driver = { 746 746 .driver = { 747 747 .name = "sdhci-am654", 748 + .probe_type = PROBE_PREFER_ASYNCHRONOUS, 748 749 .of_match_table = sdhci_am654_of_match, 749 750 }, 750 751 .probe = sdhci_am654_probe,
+1
drivers/mmc/host/uniphier-sd.c
··· 685 685 .remove = uniphier_sd_remove, 686 686 .driver = { 687 687 .name = "uniphier-sd", 688 + .probe_type = PROBE_PREFER_ASYNCHRONOUS, 688 689 .of_match_table = uniphier_sd_match, 689 690 }, 690 691 };