summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci.h
diff options
context:
space:
mode:
authorPierre Ossman <drzeus@drzeus.cx>2007-07-20 18:20:36 +0200
committerPierre Ossman <drzeus@drzeus.cx>2007-07-20 18:51:44 +0200
commit964f9ce2ff42dc47cf40fbd2f5c81cd60689e384 (patch)
treedbc1d3a7a34af1d34324b629617bd68d35ce1a6e /drivers/mmc/host/sdhci.h
parentmmc: at91_mci: wakeup on card insertion (or removal) (diff)
downloadlinux-964f9ce2ff42dc47cf40fbd2f5c81cd60689e384.tar.xz
linux-964f9ce2ff42dc47cf40fbd2f5c81cd60689e384.zip
sdhci: make sure to clear the error interrupt
The controller has a bit indicating that one of the higher bits (the error bits) are set. A previous bug caused this bit to be masked, but since that bug has been fixed we have to clear it explicictly. Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers/mmc/host/sdhci.h')
-rw-r--r--drivers/mmc/host/sdhci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h
index 7400f4bc114f..a6c870480b8a 100644
--- a/drivers/mmc/host/sdhci.h
+++ b/drivers/mmc/host/sdhci.h
@@ -107,6 +107,7 @@
#define SDHCI_INT_CARD_INSERT 0x00000040
#define SDHCI_INT_CARD_REMOVE 0x00000080
#define SDHCI_INT_CARD_INT 0x00000100
+#define SDHCI_INT_ERROR 0x00008000
#define SDHCI_INT_TIMEOUT 0x00010000
#define SDHCI_INT_CRC 0x00020000
#define SDHCI_INT_END_BIT 0x00040000