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 v4.19

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.19 timeframe.

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

authored by

Douglas Anderson and committed by
Ulf Hansson
a1a48919 7320915c

+5
+1
drivers/mmc/host/dw_mmc-bluefield.c
··· 55 55 .remove = dw_mci_pltfm_remove, 56 56 .driver = { 57 57 .name = "dwmmc_bluefield", 58 + .probe_type = PROBE_PREFER_ASYNCHRONOUS, 58 59 .of_match_table = dw_mci_bluefield_match, 59 60 .pm = &dw_mci_pltfm_pmops, 60 61 },
+1
drivers/mmc/host/dw_mmc-hi3798cv200.c
··· 200 200 .remove = dw_mci_hi3798cv200_remove, 201 201 .driver = { 202 202 .name = "dwmmc_hi3798cv200", 203 + .probe_type = PROBE_PREFER_ASYNCHRONOUS, 203 204 .of_match_table = dw_mci_hi3798cv200_match, 204 205 }, 205 206 };
+1
drivers/mmc/host/meson-mx-sdio.c
··· 755 755 .remove = meson_mx_mmc_remove, 756 756 .driver = { 757 757 .name = "meson-mx-sdio", 758 + .probe_type = PROBE_PREFER_ASYNCHRONOUS, 758 759 .of_match_table = of_match_ptr(meson_mx_mmc_of_match), 759 760 }, 760 761 };
+1
drivers/mmc/host/sdhci-of-dwcmshc.c
··· 214 214 static struct platform_driver sdhci_dwcmshc_driver = { 215 215 .driver = { 216 216 .name = "sdhci-dwcmshc", 217 + .probe_type = PROBE_PREFER_ASYNCHRONOUS, 217 218 .of_match_table = sdhci_dwcmshc_dt_ids, 218 219 .pm = &dwcmshc_pmops, 219 220 },
+1
drivers/mmc/host/sdhci-omap.c
··· 1297 1297 .remove = sdhci_omap_remove, 1298 1298 .driver = { 1299 1299 .name = "sdhci-omap", 1300 + .probe_type = PROBE_PREFER_ASYNCHRONOUS, 1300 1301 .pm = &sdhci_omap_dev_pm_ops, 1301 1302 .of_match_table = omap_sdhci_match, 1302 1303 },