Skip to contentSkip to conversation

mmc: host: Update card_busy callback info

PATCH In review Mårten Lindahl 2 participants 2 messages Aug 16, 2021 – Aug 24, 2021 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mmc: host: Update card_busy callback info

According to SD specification checking state of DAT0 only is enough for polling card busy signal. Header file comment says DAT[0:3]. Fix this.

---
 include/linux/mmc/host.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/mmc/host.h +1 -1
index 0abd47e9ef9b..ff1a251bb0bc 100644
@@ -153,7 +153,7 @@ struct mmc_host_ops {
 
 	int	(*start_signal_voltage_switch)(struct mmc_host *host, struct mmc_ios *ios);
 
-	/* Check if the card is pulling dat[0:3] low */
+	/* Check if the card is pulling dat[0] low */
 	int	(*card_busy)(struct mmc_host *host);
 
 	/* The tuning command opcode value is different for SD and eMMC cards */
Signature · 1 line
2.20.1
#1 lore raw
Quoted 5 lines · Mårten Lindahl

According to SD specification checking state of DAT0 only is enough for polling card busy signal. Header file comment says DAT[0:3]. Fix this.

Applied for next, thanks!

Kind regards
Uffe

Quoted 20 lines
---
 include/linux/mmc/host.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/mmc/host.h +1 -2
index 0abd47e9ef9b..ff1a251bb0bc 100644
@@ -153,7 +153,7 @@ struct mmc_host_ops {
 
        int     (*start_signal_voltage_switch)(struct mmc_host *host, struct mmc_ios *ios);
 
-       /* Check if the card is pulling dat[0:3] low */
+       /* Check if the card is pulling dat[0] low */
        int     (*card_busy)(struct mmc_host *host);
 
        /* The tuning command opcode value is different for SD and eMMC cards */
--

2.20.1