mmc: atmel_sdhci: Enable the quirk SDHCI_QUIRK_WAIT_SEND_CMD
Subsystems (2)
PATCH v2 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.
Signed-off-by Wenyou Yang <[email protected]>
---
Changes in v2:
- Add missed this quirk in atmel_sdhci_init().
drivers/mmc/atmel_sdhci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/mmc/atmel_sdhci.c +2 -2
@@ -28,7 +28,7 @@ int atmel_sdhci_init(void *regbase, u32 id) host->name ="atmel_sdhci" ; host->ioaddr = regbase; - host->quirks =0 ; + host->quirks =SDHCI_QUIRK_WAIT_SEND_CMD ; max_clk =at91_get_periph_generated_clk (id);if (!max_clk) {printf ("%s: Failed to get the proper clock\n" , __func__);
@@ -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 v2 1/1 mmc: atmel_sdhci: Enable the quirk SDHCI_QUIRK_WAIT_SEND_CMD
Quoted 11 lines · Wenyou Yang
To fix the timeout of sending the write command, enable the quirk
SDHCI_QUIRK_WAIT_SEND_CMD.Signed-off-by Wenyou Yang <[email protected]>---
Changes in v2:
- Add missed this quirk inatmel_sdhci_init().drivers/mmc/atmel_sdhci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by Simon Glass <[email protected]>