Skip to contentSkip to conversation

mmc: litex_mmc: set PROBE_PREFER_ASYNCHRONOUS

PATCH In review Jisheng Zhang 3 participants 3 messages Jun 17, 2023 – Jun 19, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 drivers/mmc/host/litex_mmc.c | 1 +
 1 file changed, 1 insertion(+)
drivers/mmc/host/litex_mmc.c +1 -0
index 39c6707fdfdb..9af6b0902efe 100644
@@ -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);
Signature · 1 line
2.40.1
Acked-by on v1 1/1
#1 lore raw
Quoted 8 lines · Jisheng Zhang

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.

---

Thanks!

Quoted 18 lines
 drivers/mmc/host/litex_mmc.c | 1 +
 1 file changed, 1 insertion(+)
drivers/mmc/host/litex_mmc.c +1 -0
index 39c6707fdfdb..9af6b0902efe 100644
@@ -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);
Signature · 1 line
2.40.1
#2 lore raw
In reply to Jisheng Zhang
Quoted 8 lines · Jisheng Zhang

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.

Applied for fixes, by adding both a fixes and a stable tag, thanks!

Kind regards
Uffe

Quoted 19 lines
---
 drivers/mmc/host/litex_mmc.c | 1 +
 1 file changed, 1 insertion(+)
drivers/mmc/host/litex_mmc.c +1 -1
index 39c6707fdfdb..9af6b0902efe 100644
@@ -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);
--

2.40.1