SDMMC: complete submission for IDMA. With reading and writing to verify IDMA, no...
authorxbw <xbw@rock-chips.com>
Wed, 5 Mar 2014 09:53:16 +0000 (17:53 +0800)
committerxbw <xbw@rock-chips.com>
Wed, 5 Mar 2014 09:53:16 +0000 (17:53 +0800)
drivers/mmc/host/rk_sdmmc.c

index 88dc97473770d7f5e637ad5a2c636b631e7953a2..e7f00a7493d2063ae58697b561f2d0aa0a5c6884 100755 (executable)
 #define DW_MCI_FREQ_MIN        300000//400000          /* unit: HZ */
 
 #ifdef CONFIG_MMC_DW_IDMAC
+#define IDMAC_INT_CLR          (SDMMC_IDMAC_INT_AI | SDMMC_IDMAC_INT_NI | \
+                                SDMMC_IDMAC_INT_CES | SDMMC_IDMAC_INT_DU | \
+                                SDMMC_IDMAC_INT_FBE | SDMMC_IDMAC_INT_RI | \
+                                SDMMC_IDMAC_INT_TI)
+
 struct idmac_desc {
        u32             des0;   /* Control Descriptor */
 #define IDMAC_DES0_DIC BIT(1)