Commit 7320915c authored by Douglas Anderson's avatar Douglas Anderson Committed by Ulf Hansson

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

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.14 timeframe.
Signed-off-by: default avatarDouglas Anderson <dianders@chromium.org>
Reviewed-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com> # SDHI drivers
Link: https://lore.kernel.org/r/20200903162412.3.Id1ff21470f08f427aedd0a6535dcd83ccc56b278@changeidSigned-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 2a99f3fa
...@@ -1474,6 +1474,7 @@ static struct platform_driver bcm2835_driver = { ...@@ -1474,6 +1474,7 @@ static struct platform_driver bcm2835_driver = {
.remove = bcm2835_remove, .remove = bcm2835_remove,
.driver = { .driver = {
.name = "sdhost-bcm2835", .name = "sdhost-bcm2835",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = bcm2835_match, .of_match_table = bcm2835_match,
}, },
}; };
......
...@@ -327,6 +327,7 @@ static struct platform_driver octeon_mmc_driver = { ...@@ -327,6 +327,7 @@ static struct platform_driver octeon_mmc_driver = {
.remove = octeon_mmc_remove, .remove = octeon_mmc_remove,
.driver = { .driver = {
.name = KBUILD_MODNAME, .name = KBUILD_MODNAME,
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = octeon_mmc_match, .of_match_table = octeon_mmc_match,
}, },
}; };
......
...@@ -222,6 +222,7 @@ static struct platform_driver dw_mci_zx_pltfm_driver = { ...@@ -222,6 +222,7 @@ static struct platform_driver dw_mci_zx_pltfm_driver = {
.remove = dw_mci_pltfm_remove, .remove = dw_mci_pltfm_remove,
.driver = { .driver = {
.name = "dwmmc_zx", .name = "dwmmc_zx",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = dw_mci_zx_match, .of_match_table = dw_mci_zx_match,
.pm = &dw_mci_zx_dev_pm_ops, .pm = &dw_mci_zx_dev_pm_ops,
}, },
......
...@@ -1264,6 +1264,7 @@ static struct platform_driver meson_mmc_driver = { ...@@ -1264,6 +1264,7 @@ static struct platform_driver meson_mmc_driver = {
.remove = meson_mmc_remove, .remove = meson_mmc_remove,
.driver = { .driver = {
.name = DRIVER_NAME, .name = DRIVER_NAME,
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(meson_mmc_of_match), .of_match_table = of_match_ptr(meson_mmc_of_match),
}, },
}; };
......
...@@ -353,6 +353,7 @@ static const struct dev_pm_ops renesas_sdhi_internal_dmac_dev_pm_ops = { ...@@ -353,6 +353,7 @@ static const struct dev_pm_ops renesas_sdhi_internal_dmac_dev_pm_ops = {
static struct platform_driver renesas_internal_dmac_sdhi_driver = { static struct platform_driver renesas_internal_dmac_sdhi_driver = {
.driver = { .driver = {
.name = "renesas_sdhi_internal_dmac", .name = "renesas_sdhi_internal_dmac",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.pm = &renesas_sdhi_internal_dmac_dev_pm_ops, .pm = &renesas_sdhi_internal_dmac_dev_pm_ops,
.of_match_table = renesas_sdhi_internal_dmac_of_match, .of_match_table = renesas_sdhi_internal_dmac_of_match,
}, },
......
...@@ -463,6 +463,7 @@ static const struct dev_pm_ops renesas_sdhi_sys_dmac_dev_pm_ops = { ...@@ -463,6 +463,7 @@ static const struct dev_pm_ops renesas_sdhi_sys_dmac_dev_pm_ops = {
static struct platform_driver renesas_sys_dmac_sdhi_driver = { static struct platform_driver renesas_sys_dmac_sdhi_driver = {
.driver = { .driver = {
.name = "sh_mobile_sdhi", .name = "sh_mobile_sdhi",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.pm = &renesas_sdhi_sys_dmac_dev_pm_ops, .pm = &renesas_sdhi_sys_dmac_dev_pm_ops,
.of_match_table = renesas_sdhi_sys_dmac_of_match, .of_match_table = renesas_sdhi_sys_dmac_of_match,
}, },
......
...@@ -463,6 +463,7 @@ MODULE_DEVICE_TABLE(of, sdhci_cdns_match); ...@@ -463,6 +463,7 @@ MODULE_DEVICE_TABLE(of, sdhci_cdns_match);
static struct platform_driver sdhci_cdns_driver = { static struct platform_driver sdhci_cdns_driver = {
.driver = { .driver = {
.name = "sdhci-cdns", .name = "sdhci-cdns",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.pm = &sdhci_cdns_pm_ops, .pm = &sdhci_cdns_pm_ops,
.of_match_table = sdhci_cdns_match, .of_match_table = sdhci_cdns_match,
}, },
......
...@@ -677,6 +677,7 @@ MODULE_DEVICE_TABLE(of, sdhci_xenon_dt_ids); ...@@ -677,6 +677,7 @@ MODULE_DEVICE_TABLE(of, sdhci_xenon_dt_ids);
static struct platform_driver sdhci_xenon_driver = { static struct platform_driver sdhci_xenon_driver = {
.driver = { .driver = {
.name = "xenon-sdhci", .name = "xenon-sdhci",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = sdhci_xenon_dt_ids, .of_match_table = sdhci_xenon_dt_ids,
.pm = &sdhci_xenon_dev_pm_ops, .pm = &sdhci_xenon_dev_pm_ops,
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment