summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/dw_mmc.h
diff options
context:
space:
mode:
authorShashidhar Hiremath <shashidharh@vayavyalabs.com>2011-08-29 13:11:46 +0530
committerChris Ball <cjb@laptop.org>2011-10-26 15:43:42 -0400
commit1a5c8e1f4f09e67118f81885a22ceb7bbd2df4ee (patch)
tree14671aae5c25816377bcb1173c3d8cc292c6148f /drivers/mmc/host/dw_mmc.h
parent190657c9f464b9f99a05a6ed8476c8bbccbc6a8b (diff)
downloadtalos-op-linux-1a5c8e1f4f09e67118f81885a22ceb7bbd2df4ee.tar.gz
talos-op-linux-1a5c8e1f4f09e67118f81885a22ceb7bbd2df4ee.zip
mmc: dw_mmc: Support SDIO interrupts for all slots
The Patch adds the support for SDIO interrupts for all slots. It includes enabling of SDIO interrupts through dw_mci_enable_sdio_irq and the handling of the slot specific interrupts in the Interrupt Service Routine. Signed-off-by: Shashidhar Hiremath <shashidharh@vayavyalabs.com> Acked-by: James Hogan <james.hogan@imgtec.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/dw_mmc.h')
-rw-r--r--drivers/mmc/host/dw_mmc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/dw_mmc.h b/drivers/mmc/host/dw_mmc.h
index 027d37735394..bfa3c1cd05ac 100644
--- a/drivers/mmc/host/dw_mmc.h
+++ b/drivers/mmc/host/dw_mmc.h
@@ -82,7 +82,7 @@
#define SDMMC_CTYPE_4BIT BIT(0)
#define SDMMC_CTYPE_1BIT 0
/* Interrupt status & mask register defines */
-#define SDMMC_INT_SDIO BIT(16)
+#define SDMMC_INT_SDIO(n) BIT(16 + (n))
#define SDMMC_INT_EBE BIT(15)
#define SDMMC_INT_ACD BIT(14)
#define SDMMC_INT_SBE BIT(13)
OpenPOWER on IntegriCloud