[PATCH 6/6] mmc: Set PROBE_PREFER_ASYNCHRONOUS for drivers that are newer than 5.4

Angelo Dureghello angelo.dureghello at timesys.com
Fri Sep 4 05:33:58 EDT 2020


On Fri, Sep 4, 2020 at 1:25 AM Douglas Anderson <dianders at chromium.org> wrote:

> 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 have been added after kernel 5.4.
>
> Signed-off-by: Douglas Anderson <dianders at chromium.org>
> ---
>
>  drivers/mmc/host/meson-mx-sdhc-mmc.c | 1 +
>  drivers/mmc/host/owl-mmc.c           | 1 +
>  drivers/mmc/host/sdhci-esdhc-mcf.c   | 1 +
>  drivers/mmc/host/sdhci-milbeaut.c    | 1 +
>  drivers/mmc/host/sdhci-of-sparx5.c   | 1 +
>  5 files changed, 5 insertions(+)


[snip]

>
>
> diff --git a/drivers/mmc/host/sdhci-esdhc-mcf.c b/drivers/mmc/host/sdhci-esdhc-mcf.c
> index 71bf086a9812..ca7a1690b2a8 100644
> --- a/drivers/mmc/host/sdhci-esdhc-mcf.c
> +++ b/drivers/mmc/host/sdhci-esdhc-mcf.c
> @@ -509,6 +509,7 @@ static int sdhci_esdhc_mcf_remove(struct platform_device *pdev)
>  static struct platform_driver sdhci_esdhc_mcf_driver = {
>         .driver = {
>                 .name = "sdhci-esdhc-mcf",
> +               .probe_type = PROBE_PREFER_ASYNCHRONOUS,
>         },
>         .probe = sdhci_esdhc_mcf_probe,
>         .remove = sdhci_esdhc_mcf_remove,
>

Acked-by: Angelo Dureghello <angelo.dureghello at timesys.com>



More information about the linux-arm-kernel mailing list