mmc: atmel_sdhci: Enable the quirk SDHCI_QUIRK_WAIT_SEND_CMD
Subsystems (2)
PATCH 1/1 mmc: atmel_sdhci: Enable the quirk SDHCI_QUIRK_WAIT_SEND_CMD
To fix the timeout of sending the write command, enable the quirk SDHCI_QUIRK_WAIT_SEND_CMD.
---
drivers/mmc/atmel_sdhci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/atmel_sdhci.c +1 -1
@@ -74,7 +74,7 @@ static int atmel_sdhci_probe(struct udevice *dev) host->name = dev->name; host->ioaddr = (void *)dev_get_addr (dev); - host->quirks =0 ; + host->quirks =SDHCI_QUIRK_WAIT_SEND_CMD ; host->bus_width =fdtdec_get_int (gd->fdt_blob,dev_of_offset (dev),"bus-width" ,4 );
Signature · 1 line
2.11.0
PATCH 1/1 mmc: atmel_sdhci: Enable the quirk SDHCI_QUIRK_WAIT_SEND_CMD
Hi Wenyou,
Quoted 2 lines · Wenyou Yang
To fix the timeout of sending the write command, enable the quirk
SDHCI_QUIRK_WAIT_SEND_CMD.
This patch is for fixing timeout error, doesn't need to set quirk into atmel_sdhci_init()?
Best Regards,
Jaehoon Chung
Quoted 21 lines
Signed-off-by Wenyou Yang <[email protected]>---
drivers/mmc/atmel_sdhci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/mmc/atmel_sdhci.c +1
-1@@ -74,7 +74,7 @@ static int atmel_sdhci_probe(struct udevice *dev) host->name = dev->name; host->ioaddr = (void *)dev_get_addr (dev); - host->quirks =0 ; + host->quirks =SDHCI_QUIRK_WAIT_SEND_CMD ; host->bus_width =fdtdec_get_int (gd->fdt_blob,dev_of_offset (dev),"bus-width" ,4 );
Yang
PATCH 1/1 mmc: atmel_sdhci: Enable the quirk SDHCI_QUIRK_WAIT_SEND_CMD
Hi Jaehoon,
Quoted 6 lines · Jaehoon Chung
Hi Wenyou,
Quoted 2 lines · Wenyou Yang
To fix the timeout of sending the write command, enable the quirk
SDHCI_QUIRK_WAIT_SEND_CMD.This patch is for fixing timeout error, doesn't need to set quirk into
atmel_sdhci_init()?
Yes, it does.
Thank you for pointing out.
Quoted 18 lines
Best Regards,
Jaehoon ChungQuoted 14 lines
Signed-off-by Wenyou Yang <[email protected]>---
drivers/mmc/atmel_sdhci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/mmc/atmel_sdhci.c +0
-0@@ -74,7 +74,7 @@ static int atmel_sdhci_probe(struct udevice *dev) host->name = dev->name; host->ioaddr = (void *)dev_get_addr (dev);
Quoted 6 lines
drivers/mmc/atmel_sdhci.c static int atmel_sdhci_probe(struct udevice *dev) · line 80
Quoted 6 lines
drivers/mmc/atmel_sdhci.c +1
-1- host->quirks =0 ; + host->quirks =SDHCI_QUIRK_WAIT_SEND_CMD ; host->bus_width =fdtdec_get_int (gd->fdt_blob,dev_of_offset (dev),"bus-width" ,4 );
Best Regards,
Wenyou Yang