summaryrefslogtreecommitdiff
path: root/drivers/mmc/dw_mmc.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-10-25 04:28:14 +0300
committerTom Rini <trini@konsulko.com>2022-10-25 04:28:14 +0300
commit26bfb853cae5c05950f8716e6f405eb0f9588d97 (patch)
tree6b633a5e3eb58f1a1c8b05d0f958faacabe30594 /drivers/mmc/dw_mmc.c
parent7d8ab3cd635ba2a7faea9f12278ea200149c82aa (diff)
parent337af54a36c6409b7eeb49619c796178b3c22372 (diff)
downloadu-boot-26bfb853cae5c05950f8716e6f405eb0f9588d97.tar.xz
Merge branch 'master' of https://gitlab.denx.de/u-boot/custodians/u-boot-mmc
Diffstat (limited to 'drivers/mmc/dw_mmc.c')
-rw-r--r--drivers/mmc/dw_mmc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mmc/dw_mmc.c b/drivers/mmc/dw_mmc.c
index 4232c5eb8c..5085a3b491 100644
--- a/drivers/mmc/dw_mmc.c
+++ b/drivers/mmc/dw_mmc.c
@@ -168,7 +168,8 @@ static int dwmci_data_transfer(struct dwmci_host *host, struct mmc_data *data)
if (data->flags == MMC_DATA_READ &&
(mask & (DWMCI_INTMSK_RXDR | DWMCI_INTMSK_DTO))) {
dwmci_writel(host, DWMCI_RINTSTS,
- DWMCI_INTMSK_RXDR | DWMCI_INTMSK_DTO);
+ mask & (DWMCI_INTMSK_RXDR |
+ DWMCI_INTMSK_DTO));
while (size) {
ret = dwmci_fifo_ready(host,
DWMCI_FIFO_EMPTY,