projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6d9427
)
mmc: host: rk_sdmmc: no requirement to reclaim edmac in err handle routine
author
lintao
<lintao@rock-chips.com>
Wed, 2 Jul 2014 01:57:08 +0000
(09:57 +0800)
committer
lintao
<lintao@rock-chips.com>
Wed, 2 Jul 2014 02:01:52 +0000
(10:01 +0800)
Signed-off-by: lintao <lintao@rock-chips.com>
Cc: xujh <xujh@rock-chips.com>
drivers/mmc/host/rk_sdmmc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/rk_sdmmc.c
b/drivers/mmc/host/rk_sdmmc.c
index d9272d28029b009106261037ebc57b8bed8e8bf9..634e88644f5cb7a433814a0d55a0a76d7fe44d6a 100755
(executable)
--- 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