Commit 2a99f3fa authored by Douglas Anderson's avatar Douglas Anderson Committed by Ulf Hansson
Browse files

mmc: Set PROBE_PREFER_ASYNCHRONOUS for drivers that existed in v4.9



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: default avatarDouglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20200903162412.2.I226782b43191ce367fa3bc1c907c29f571890412@changeid


Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 21b2cec6
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -326,6 +326,7 @@ MODULE_DEVICE_TABLE(of, sdhci_brcm_of_match);
static struct platform_driver sdhci_brcmstb_driver = {
static struct platform_driver sdhci_brcmstb_driver = {
	.driver		= {
	.driver		= {
		.name	= "sdhci-brcmstb",
		.name	= "sdhci-brcmstb",
		.probe_type = PROBE_PREFER_ASYNCHRONOUS,
		.pm	= &sdhci_pltfm_pmops,
		.pm	= &sdhci_pltfm_pmops,
		.of_match_table = of_match_ptr(sdhci_brcm_of_match),
		.of_match_table = of_match_ptr(sdhci_brcm_of_match),
	},
	},
+1 −0
Original line number Original line Diff line number Diff line
@@ -241,6 +241,7 @@ MODULE_DEVICE_TABLE(of, pic32_sdhci_id_table);
static struct platform_driver pic32_sdhci_driver = {
static struct platform_driver pic32_sdhci_driver = {
	.driver = {
	.driver = {
		.name	= "pic32-sdhci",
		.name	= "pic32-sdhci",
		.probe_type = PROBE_PREFER_ASYNCHRONOUS,
		.of_match_table = of_match_ptr(pic32_sdhci_id_table),
		.of_match_table = of_match_ptr(pic32_sdhci_id_table),
	},
	},
	.probe		= pic32_sdhci_probe,
	.probe		= pic32_sdhci_probe,