summaryrefslogtreecommitdiff
path: root/drivers/mmc/core/core.c
diff options
context:
space:
mode:
authorJason Liu <jason.hui@linaro.org>2011-12-14 19:41:04 +0800
committerJason Liu <r64343@freescale.com>2012-01-09 21:10:05 +0800
commit67a415fd8bbdeb15c0055ec048b53381dabe41e3 (patch)
treebc693c9ac7c1062cd2a4283b1951cc188c5f1856 /drivers/mmc/core/core.c
parent159ac21dfc021bebe97d779ad7ceecd95ee9aa99 (diff)
Revert "ENGR00154217 [MX6Q/D]fix mmc suspend/resume issue."
This reverts commit e3f2cd88631b667173047e66d311ba0f815f8a35.
Diffstat (limited to 'drivers/mmc/core/core.c')
-rw-r--r--drivers/mmc/core/core.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
index fb541cc8a92c..a08b71f73fdc 100644
--- a/drivers/mmc/core/core.c
+++ b/drivers/mmc/core/core.c
@@ -1075,13 +1075,7 @@ void mmc_power_off(struct mmc_host *host)
host->ios.clock = 0;
host->ios.vdd = 0;
-
- /*
- * Reset ocr mask to be the highest possible voltage supported for
- * this mmc host. This value will be used at next power up.
- */
- host->ocr = 1 << (fls(host->ocr_avail) - 1);
-
+ host->ocr = 0;
if (!mmc_host_is_spi(host)) {
host->ios.bus_mode = MMC_BUSMODE_OPENDRAIN;
host->ios.chip_select = MMC_CS_DONTCARE;