aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJisheng Zhang <[email protected]>2023-06-17 16:53:19 +0800
committerUlf Hansson <[email protected]>2023-06-19 13:22:24 +0200
commitf334ad47683606b682b4166b800d8b372d315436 (patch)
tree49cdd56505b8c582440e4a3aea21f03b0c1f3ca9
parent3c40eb8145325b0f5b93b8a169146078cb2c49d6 (diff)
mmc: litex_mmc: set PROBE_PREFER_ASYNCHRONOUS
mmc host drivers should have enabled the asynchronous probe option, but it seems like we didn't set it for litex_mmc when introducing litex mmc support, so let's set it now. Tested with linux-on-litex-vexriscv on sipeed tang nano 20K fpga. Signed-off-by: Jisheng Zhang <[email protected]> Acked-by: Gabriel Somlo <[email protected]> Fixes: 92e099104729 ("mmc: Add driver for LiteX's LiteSDCard interface") Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
-rw-r--r--drivers/mmc/host/litex_mmc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/litex_mmc.c b/drivers/mmc/host/litex_mmc.c
index 39c6707fdfdb..9af6b0902efe 100644
--- a/drivers/mmc/host/litex_mmc.c
+++ b/drivers/mmc/host/litex_mmc.c
@@ -649,6 +649,7 @@ static struct platform_driver litex_mmc_driver = {
.driver = {
.name = "litex-mmc",
.of_match_table = litex_match,
+ .probe_type = PROBE_PREFER_ASYNCHRONOUS,
},
};
module_platform_driver(litex_mmc_driver);