From: xbw Date: Wed, 5 Mar 2014 09:53:16 +0000 (+0800) Subject: SDMMC: complete submission for IDMA. With reading and writing to verify IDMA, no... X-Git-Tag: firefly_0821_release~6197 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6c5210f314f6957a9b5fb8ed80cc51be7749070a;p=firefly-linux-kernel-4.4.55.git SDMMC: complete submission for IDMA. With reading and writing to verify IDMA, no exception occurs. --- 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)