]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Revert "ENGR00154217 [MX6Q/D]fix mmc suspend/resume issue."
authorJason Liu <jason.hui@linaro.org>
Wed, 14 Dec 2011 11:41:04 +0000 (19:41 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:33:36 +0000 (08:33 +0200)
This reverts commit e3f2cd88631b667173047e66d311ba0f815f8a35.

drivers/mmc/core/core.c

index fb541cc8a92c9829e40664a5b9cfbb04a712e118..a08b71f73fdca328a4c32dee58902351768791a2 100644 (file)
@@ -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;