From: lintao Date: Wed, 2 Jul 2014 01:57:08 +0000 (+0800) Subject: mmc: host: rk_sdmmc: no requirement to reclaim edmac in err handle routine X-Git-Tag: firefly_0821_release~5007 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=71bda07de270589a7cb8bb5f8118f207b5154d51;p=firefly-linux-kernel-4.4.55.git mmc: host: rk_sdmmc: no requirement to reclaim edmac in err handle routine Signed-off-by: lintao Cc: xujh --- diff --git a/drivers/mmc/host/rk_sdmmc.c b/drivers/mmc/host/rk_sdmmc.c index d9272d28029b..634e88644f5c 100755 --- a/drivers/mmc/host/rk_sdmmc.c +++ b/drivers/mmc/host/rk_sdmmc.c @@ -3551,8 +3551,13 @@ static void dw_mci_dealwith_timeout(struct dw_mci *host) ret = -ENODEV; return ; } + + /* NO requirement to reclaim slave chn using external dmac */ + #ifdef CONFIG_MMC_DW_IDMAC if (host->use_dma && host->dma_ops->init) host->dma_ops->init(host); + #endif + /* * Restore the initial value at FIFOTH register * And Invalidate the prev_blksz with zero