Message ID | 20181018191402.1864-1-paweljarosz3691@gmail.com |
---|---|
State | Deferred |
Delegated to: | Peng Fan |
Headers | show |
Series | [U-Boot] mmc: dw_mmc: fix dwmci_data_transfer not filling data buffer | expand |
diff --git a/drivers/mmc/dw_mmc.c b/drivers/mmc/dw_mmc.c index 3b601b0e43..f1736c7abf 100644 --- a/drivers/mmc/dw_mmc.c +++ b/drivers/mmc/dw_mmc.c @@ -138,7 +138,8 @@ static int dwmci_data_transfer(struct dwmci_host *host, struct mmc_data *data) if (host->fifo_mode && size) { len = 0; if (data->flags == MMC_DATA_READ && - (mask & DWMCI_INTMSK_RXDR)) { + (mask & DWMCI_INTMSK_RXDR || + mask & DWMCI_INTMSK_DTO)) { while (size) { ret = dwmci_fifo_ready(host, DWMCI_FIFO_EMPTY,