From 6c5210f314f6957a9b5fb8ed80cc51be7749070a Mon Sep 17 00:00:00 2001 From: xbw Date: Wed, 5 Mar 2014 17:53:16 +0800 Subject: [PATCH] SDMMC: complete submission for IDMA. With reading and writing to verify IDMA, no exception occurs. --- drivers/mmc/host/rk_sdmmc.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/mmc/host/rk_sdmmc.c b/drivers/mmc/host/rk_sdmmc.c index 88dc97473770..e7f00a7493d2 100755 --- a/drivers/mmc/host/rk_sdmmc.c +++ b/drivers/mmc/host/rk_sdmmc.c @@ -58,6 +58,11 @@ #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) -- 2.34.1