aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/dw_mmc.c4
-rw-r--r--drivers/mmc/host/dw_mmc.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c
index b10e5e12b2ae..7dca5e92dcb4 100644
--- a/drivers/mmc/host/dw_mmc.c
+++ b/drivers/mmc/host/dw_mmc.c
@@ -39,7 +39,7 @@
39#include "dw_mmc.h" 39#include "dw_mmc.h"
40 40
41/* Common flag combinations */ 41/* Common flag combinations */
42#define DW_MCI_DATA_ERROR_FLAGS (SDMMC_INT_DTO | SDMMC_INT_DCRC | \ 42#define DW_MCI_DATA_ERROR_FLAGS (SDMMC_INT_DRTO | SDMMC_INT_DCRC | \
43 SDMMC_INT_HTO | SDMMC_INT_SBE | \ 43 SDMMC_INT_HTO | SDMMC_INT_SBE | \
44 SDMMC_INT_EBE) 44 SDMMC_INT_EBE)
45#define DW_MCI_CMD_ERROR_FLAGS (SDMMC_INT_RTO | SDMMC_INT_RCRC | \ 45#define DW_MCI_CMD_ERROR_FLAGS (SDMMC_INT_RTO | SDMMC_INT_RCRC | \
@@ -1093,7 +1093,7 @@ static void dw_mci_tasklet_func(unsigned long priv)
1093 status = host->data_status; 1093 status = host->data_status;
1094 1094
1095 if (status & DW_MCI_DATA_ERROR_FLAGS) { 1095 if (status & DW_MCI_DATA_ERROR_FLAGS) {
1096 if (status & SDMMC_INT_DTO) { 1096 if (status & SDMMC_INT_DRTO) {
1097 data->error = -ETIMEDOUT; 1097 data->error = -ETIMEDOUT;
1098 } else if (status & SDMMC_INT_DCRC) { 1098 } else if (status & SDMMC_INT_DCRC) {
1099 data->error = -EILSEQ; 1099 data->error = -EILSEQ;
diff --git a/drivers/mmc/host/dw_mmc.h b/drivers/mmc/host/dw_mmc.h
index 0b74189e7ee7..2f52c87bbce9 100644
--- a/drivers/mmc/host/dw_mmc.h
+++ b/drivers/mmc/host/dw_mmc.h
@@ -98,7 +98,7 @@
98#define SDMMC_INT_HLE BIT(12) 98#define SDMMC_INT_HLE BIT(12)
99#define SDMMC_INT_FRUN BIT(11) 99#define SDMMC_INT_FRUN BIT(11)
100#define SDMMC_INT_HTO BIT(10) 100#define SDMMC_INT_HTO BIT(10)
101#define SDMMC_INT_DTO BIT(9) 101#define SDMMC_INT_DRTO BIT(9)
102#define SDMMC_INT_RTO BIT(8) 102#define SDMMC_INT_RTO BIT(8)
103#define SDMMC_INT_DCRC BIT(7) 103#define SDMMC_INT_DCRC BIT(7)
104#define SDMMC_INT_RCRC BIT(6) 104#define SDMMC_INT_RCRC BIT(6)