mmc: mmci: Set PROBE_PREFER_ASYNCHRONOUS
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 12 Jun 2023 14:37:30 +0000 (16:37 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 13 Jun 2023 14:06:48 +0000 (16:06 +0200)
All mmc host drivers should have the asynchronous probe option enabled, but
it seems like we failed to set it for mmci, so let's do that now.

Fixes: 21b2cec61c04 ("mmc: Set PROBE_PREFER_ASYNCHRONOUS for drivers that existed in v4.4")
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Yann Gautier <yann.gautier@foss.st.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20230612143730.210390-1-ulf.hansson@linaro.org
drivers/mmc/host/mmci.c

index f2b2e8b..97a77ee 100644 (file)
@@ -2455,6 +2455,7 @@ static struct amba_driver mmci_driver = {
        .drv            = {
                .name   = DRIVER_NAME,
                .pm     = &mmci_dev_pm_ops,
+               .probe_type = PROBE_PREFER_ASYNCHRONOUS,
        },
        .probe          = mmci_probe,
        .remove         = mmci_remove,