From: Jason Liu Date: Wed, 14 Dec 2011 11:41:04 +0000 (+0800) Subject: Revert "ENGR00154217 [MX6Q/D]fix mmc suspend/resume issue." X-Git-Tag: v3.0.35-fsl~1790 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=cd01ef2e44e416c77577dd667e7bd17fc2611187;p=karo-tx-linux.git Revert "ENGR00154217 [MX6Q/D]fix mmc suspend/resume issue." This reverts commit e3f2cd88631b667173047e66d311ba0f815f8a35. --- 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;