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:
98aa3af
)
fix pio complie warning
author
lintao
<lintao@rock-chips.com>
Wed, 8 Oct 2014 00:20:33 +0000
(08:20 +0800)
committer
lintao
<lintao@rock-chips.com>
Wed, 8 Oct 2014 00:22:02 +0000
(08:22 +0800)
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 4d3cf7c6786204e9465d0da9db12af41671a887a..537ae42067bc18b98340ff31f6268c67d6a8285b 100755
(executable)
--- a/
drivers/mmc/host/rk_sdmmc.c
+++ b/
drivers/mmc/host/rk_sdmmc.c
@@
-2961,7
+2961,7
@@
static void dw_mci_work_routine_card(struct work_struct *work)
/* Stop edma when rountine card triggered */
if(cpu_is_rk3036() || cpu_is_rk312x())
- if(host->dma_ops->stop)
+ if(host->dma_ops
&& host->dma_ops
->stop)
host->dma_ops->stop(host);
while (present != slot->last_detect_state) {