mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
a1a489197a
commit
d86472ae8b
|
@ -1178,6 +1178,7 @@ static struct platform_driver alcor_pci_sdmmc_driver = {
|
||||||
.id_table = alcor_pci_sdmmc_ids,
|
.id_table = alcor_pci_sdmmc_ids,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = DRV_NAME_ALCOR_PCI_SDMMC,
|
.name = DRV_NAME_ALCOR_PCI_SDMMC,
|
||||||
|
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||||
.pm = &alcor_mmc_pm_ops
|
.pm = &alcor_mmc_pm_ops
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
@ -240,6 +240,7 @@ static const struct of_device_id aspeed_sdhci_of_match[] = {
|
||||||
static struct platform_driver aspeed_sdhci_driver = {
|
static struct platform_driver aspeed_sdhci_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "sdhci-aspeed",
|
.name = "sdhci-aspeed",
|
||||||
|
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||||
.of_match_table = aspeed_sdhci_of_match,
|
.of_match_table = aspeed_sdhci_of_match,
|
||||||
},
|
},
|
||||||
.probe = aspeed_sdhci_probe,
|
.probe = aspeed_sdhci_probe,
|
||||||
|
@ -318,6 +319,7 @@ MODULE_DEVICE_TABLE(of, aspeed_sdc_of_match);
|
||||||
static struct platform_driver aspeed_sdc_driver = {
|
static struct platform_driver aspeed_sdc_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "sd-controller-aspeed",
|
.name = "sd-controller-aspeed",
|
||||||
|
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||||
.pm = &sdhci_pltfm_pmops,
|
.pm = &sdhci_pltfm_pmops,
|
||||||
.of_match_table = aspeed_sdc_of_match,
|
.of_match_table = aspeed_sdc_of_match,
|
||||||
},
|
},
|
||||||
|
|
|
@ -787,6 +787,7 @@ static struct platform_driver sdhci_sprd_driver = {
|
||||||
.remove = sdhci_sprd_remove,
|
.remove = sdhci_sprd_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "sdhci_sprd_r11",
|
.name = "sdhci_sprd_r11",
|
||||||
|
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||||
.of_match_table = of_match_ptr(sdhci_sprd_of_match),
|
.of_match_table = of_match_ptr(sdhci_sprd_of_match),
|
||||||
.pm = &sdhci_sprd_pm_ops,
|
.pm = &sdhci_sprd_pm_ops,
|
||||||
},
|
},
|
||||||
|
|
|
@ -745,6 +745,7 @@ static int sdhci_am654_remove(struct platform_device *pdev)
|
||||||
static struct platform_driver sdhci_am654_driver = {
|
static struct platform_driver sdhci_am654_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "sdhci-am654",
|
.name = "sdhci-am654",
|
||||||
|
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||||
.of_match_table = sdhci_am654_of_match,
|
.of_match_table = sdhci_am654_of_match,
|
||||||
},
|
},
|
||||||
.probe = sdhci_am654_probe,
|
.probe = sdhci_am654_probe,
|
||||||
|
|
|
@ -685,6 +685,7 @@ static struct platform_driver uniphier_sd_driver = {
|
||||||
.remove = uniphier_sd_remove,
|
.remove = uniphier_sd_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "uniphier-sd",
|
.name = "uniphier-sd",
|
||||||
|
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||||
.of_match_table = uniphier_sd_match,
|
.of_match_table = uniphier_sd_match,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue