You've already forked linux-rockchip
mirror of
https://github.com/armbian/linux-rockchip.git
synced 2026-01-06 11:08:10 -08:00
mmc: Set PROBE_PREFER_ASYNCHRONOUS for drivers that existed in v4.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 v4.4 timeframe.
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com> # SH_MMCIF
Tested-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20200903162412.1.Id501e96fa63224f77bb86b2135a5e8324ffb9c43@changeid
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
committed by
Ulf Hansson
parent
54d8454436
commit
21b2cec61c
@@ -537,6 +537,7 @@ static struct platform_driver goldfish_mmc_driver = {
|
||||
.remove = goldfish_mmc_remove,
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
@@ -2668,6 +2668,7 @@ static struct platform_driver atmci_driver = {
|
||||
.remove = atmci_remove,
|
||||
.driver = {
|
||||
.name = "atmel_mci",
|
||||
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||
.of_match_table = of_match_ptr(atmci_dt_ids),
|
||||
.pm = &atmci_dev_pm_ops,
|
||||
},
|
||||
|
||||
@@ -1189,6 +1189,7 @@ static struct platform_driver au1xmmc_driver = {
|
||||
.resume = au1xmmc_resume,
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
@@ -1395,6 +1395,7 @@ static const struct dev_pm_ops davinci_mmcsd_pm = {
|
||||
static struct platform_driver davinci_mmcsd_driver = {
|
||||
.driver = {
|
||||
.name = "davinci_mmc",
|
||||
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||
.pm = davinci_mmcsd_pm_ops,
|
||||
.of_match_table = davinci_mmc_dt_ids,
|
||||
},
|
||||
|
||||
@@ -592,6 +592,7 @@ static struct platform_driver dw_mci_exynos_pltfm_driver = {
|
||||
.remove = dw_mci_exynos_remove,
|
||||
.driver = {
|
||||
.name = "dwmmc_exynos",
|
||||
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||
.of_match_table = dw_mci_exynos_match,
|
||||
.pm = &dw_mci_exynos_pmops,
|
||||
},
|
||||
|
||||
@@ -473,6 +473,7 @@ static struct platform_driver dw_mci_k3_pltfm_driver = {
|
||||
.remove = dw_mci_pltfm_remove,
|
||||
.driver = {
|
||||
.name = "dwmmc_k3",
|
||||
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||
.of_match_table = dw_mci_k3_match,
|
||||
.pm = &dw_mci_k3_dev_pm_ops,
|
||||
},
|
||||
|
||||
@@ -98,6 +98,7 @@ static struct platform_driver dw_mci_pltfm_driver = {
|
||||
.remove = dw_mci_pltfm_remove,
|
||||
.driver = {
|
||||
.name = "dw_mmc",
|
||||
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||
.of_match_table = dw_mci_pltfm_match,
|
||||
.pm = &dw_mci_pltfm_pmops,
|
||||
},
|
||||
|
||||
@@ -383,6 +383,7 @@ static struct platform_driver dw_mci_rockchip_pltfm_driver = {
|
||||
.remove = dw_mci_rockchip_remove,
|
||||
.driver = {
|
||||
.name = "dwmmc_rockchip",
|
||||
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||
.of_match_table = dw_mci_rockchip_match,
|
||||
.pm = &dw_mci_rockchip_dev_pm_ops,
|
||||
},
|
||||
|
||||
@@ -1124,6 +1124,7 @@ static struct platform_driver jz4740_mmc_driver = {
|
||||
.remove = jz4740_mmc_remove,
|
||||
.driver = {
|
||||
.name = "jz4740-mmc",
|
||||
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||
.of_match_table = of_match_ptr(jz4740_mmc_of_match),
|
||||
.pm = pm_ptr(&jz4740_mmc_pm_ops),
|
||||
},
|
||||
|
||||
@@ -717,6 +717,7 @@ static struct platform_driver moxart_mmc_driver = {
|
||||
.remove = moxart_remove,
|
||||
.driver = {
|
||||
.name = "mmc-moxart",
|
||||
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||
.of_match_table = moxart_mmc_match,
|
||||
},
|
||||
};
|
||||
|
||||
@@ -2689,6 +2689,7 @@ static struct platform_driver mt_msdc_driver = {
|
||||
.remove = msdc_drv_remove,
|
||||
.driver = {
|
||||
.name = "mtk-msdc",
|
||||
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||
.of_match_table = msdc_of_ids,
|
||||
.pm = &msdc_dev_pm_ops,
|
||||
},
|
||||
|
||||
@@ -824,6 +824,7 @@ static struct platform_driver mvsd_driver = {
|
||||
.remove = mvsd_remove,
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||
.of_match_table = mvsdio_dt_ids,
|
||||
},
|
||||
};
|
||||
|
||||
@@ -1244,6 +1244,7 @@ static struct platform_driver mxcmci_driver = {
|
||||
.id_table = mxcmci_devtype,
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||
.pm = &mxcmci_pm_ops,
|
||||
.of_match_table = mxcmci_of_match,
|
||||
}
|
||||
|
||||
@@ -726,6 +726,7 @@ static struct platform_driver mxs_mmc_driver = {
|
||||
.id_table = mxs_ssp_ids,
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||
.pm = &mxs_mmc_pm_ops,
|
||||
.of_match_table = mxs_mmc_dt_ids,
|
||||
},
|
||||
|
||||
@@ -1504,6 +1504,7 @@ static struct platform_driver mmc_omap_driver = {
|
||||
.remove = mmc_omap_remove,
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||
.of_match_table = of_match_ptr(mmc_omap_match),
|
||||
},
|
||||
};
|
||||
|
||||
@@ -2165,6 +2165,7 @@ static struct platform_driver omap_hsmmc_driver = {
|
||||
.remove = omap_hsmmc_remove,
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||
.pm = &omap_hsmmc_dev_pm_ops,
|
||||
.of_match_table = of_match_ptr(omap_mmc_of_match),
|
||||
},
|
||||
|
||||
@@ -811,6 +811,7 @@ static struct platform_driver pxamci_driver = {
|
||||
.remove = pxamci_remove,
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||
.of_match_table = of_match_ptr(pxa_mmc_dt_ids),
|
||||
},
|
||||
};
|
||||
|
||||
@@ -1471,6 +1471,7 @@ static struct platform_driver rtsx_pci_sdmmc_driver = {
|
||||
.id_table = rtsx_pci_sdmmc_ids,
|
||||
.driver = {
|
||||
.name = DRV_NAME_RTSX_PCI_SDMMC,
|
||||
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||
},
|
||||
};
|
||||
module_platform_driver(rtsx_pci_sdmmc_driver);
|
||||
|
||||
@@ -1458,6 +1458,7 @@ static struct platform_driver rtsx_usb_sdmmc_driver = {
|
||||
.id_table = rtsx_usb_sdmmc_ids,
|
||||
.driver = {
|
||||
.name = "rtsx_usb_sdmmc",
|
||||
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||
.pm = &rtsx_usb_sdmmc_dev_pm_ops,
|
||||
},
|
||||
};
|
||||
|
||||
@@ -1804,6 +1804,7 @@ MODULE_DEVICE_TABLE(platform, s3cmci_driver_ids);
|
||||
static struct platform_driver s3cmci_driver = {
|
||||
.driver = {
|
||||
.name = "s3c-sdi",
|
||||
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
|
||||
.of_match_table = s3cmci_dt_match,
|
||||
},
|
||||
.id_table = s3cmci_driver_ids,
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user