Skip to contentSkip to conversation

mmc: sdhci-of-dwcmshc: set MMC_CAP_WAIT_WHILE_BUSY

PATCH In review Jisheng Zhang 2 participants 2 messages Mar 24, 2021

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

PATCH 1/1 mmc: sdhci-of-dwcmshc: set MMC_CAP_WAIT_WHILE_BUSY

The host supports HW busy detection of the device busy signaling over dat0 line. Set MMC_CAP_wAIT_WHILE_BUSY host capability.

---
 drivers/mmc/host/sdhci-of-dwcmshc.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/mmc/host/sdhci-of-dwcmshc.c +2 -0
index 06873686d5e9..b6ceb1b92b3f 100644
@@ -393,6 +393,8 @@ static int dwcmshc_probe(struct platform_device *pdev)
 			goto err_clk;
 	}
 
+	host->mmc->caps |= MMC_CAP_WAIT_WHILE_BUSY;
+
 	err = sdhci_add_host(host);
 	if (err)
 		goto err_clk;
Signature · 1 line
2.31.0
#1 lore raw
Quoted 5 lines · Jisheng Zhang

The host supports HW busy detection of the device busy signaling over dat0 line. Set MMC_CAP_wAIT_WHILE_BUSY host capability.

Applied for next, thanks!

Kind regards
Uffe

Quoted 20 lines
---
 drivers/mmc/host/sdhci-of-dwcmshc.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/mmc/host/sdhci-of-dwcmshc.c +2 -1
index 06873686d5e9..b6ceb1b92b3f 100644
@@ -393,6 +393,8 @@ static int dwcmshc_probe(struct platform_device *pdev)
                        goto err_clk;
        }
 
+       host->mmc->caps |= MMC_CAP_WAIT_WHILE_BUSY;
+
        err = sdhci_add_host(host);
        if (err)
                goto err_clk;
--

2.31.0