9
0
Fork 0

mci: sdhci: fix IRQSTAT_DMAE bit shift

According to the SD Host Controller Specification Version 3.00, the ADMA error
status bit is on the wrong bit. Fix this.

While at it, add the missing standard error status bits.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Steffen Trumtrar 2013-08-25 00:20:32 +02:00 committed by Sascha Hauer
parent 14ac2e4c42
commit c06c88ae51
1 changed files with 3 additions and 1 deletions

View File

@ -37,8 +37,10 @@
#define TRANSFER_MODE_BCEN 0x00000002
#define TRANSFER_MODE_DMAEN 0x00000001
#define IRQSTAT_DMAE 0x10000000
#define IRQSTAT_TE 0x04000000
#define IRQSTAT_DMAE 0x02000000
#define IRQSTAT_AC12E 0x01000000
#define IRQSTAT_CLE 0x00800000
#define IRQSTAT_DEBE 0x00400000
#define IRQSTAT_DCE 0x00200000
#define IRQSTAT_DTOE 0x00100000