projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6bc41f
)
mmc: tmio: fix clock gating on platforms with a .set_pwr() method
author
Guennadi Liakhovetski
<g.liakhovetski@gmx.de>
Wed, 16 Nov 2011 09:11:45 +0000
(10:11 +0100)
committer
Chris Ball
<cjb@laptop.org>
Sat, 10 Dec 2011 21:18:38 +0000
(16:18 -0500)
Do not power down the card in .set_ios(), unless MMC_POWER_OFF is
requested. This fixes the SDHI functionality on ecovec.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/tmio_mmc_pio.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mmc/host/tmio_mmc_pio.c
b/drivers/mmc/host/tmio_mmc_pio.c
index d85a60cda16781ae25509a28705122597b87dd2a..4208b3958069119e68e8da8ad03e3eadf5862b8c 100644
(file)
--- a/
drivers/mmc/host/tmio_mmc_pio.c
+++ b/
drivers/mmc/host/tmio_mmc_pio.c
@@
-798,7
+798,7
@@
static void tmio_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
/* start bus clock */
tmio_mmc_clk_start(host);
} else if (ios->power_mode != MMC_POWER_UP) {
- if (host->set_pwr)
+ if (host->set_pwr
&& ios->power_mode == MMC_POWER_OFF
)
host->set_pwr(host->pdev, 0);
if ((pdata->flags & TMIO_MMC_HAS_COLD_CD) &&
pdata->power) {