aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKishon Vijay Abraham I2016-11-11 06:01:00 -0600
committerLokesh Vutla2016-11-13 23:31:57 -0600
commit2c2be1cf8760fc3589d90de644902352f9f518a4 (patch)
tree37a7e435fbb9d93705967d9a4d982f66627fb520
parentb297b2a30584b8712ec4d360b148e45416344e7e (diff)
downloadu-boot-2c2be1cf8760fc3589d90de644902352f9f518a4.tar.gz
u-boot-2c2be1cf8760fc3589d90de644902352f9f518a4.tar.xz
u-boot-2c2be1cf8760fc3589d90de644902352f9f518a4.zip
mmc: power off the IO regulator during power cycle
Only the Vdd is turned off during power cycle of the MMC module. Power off the IO regulator here. Some inconsistencies w.r.t SD card enumeration have been observed without powering off the IO regulators during power cycle. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
-rw-r--r--drivers/mmc/mmc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index 1255abcf78..c929a1e363 100644
--- a/drivers/mmc/mmc.c
+++ b/drivers/mmc/mmc.c
@@ -2056,6 +2056,7 @@ static void mmc_power_up(struct mmc *mmc)
2056 2056
2057static void mmc_power_off(struct mmc *mmc) 2057static void mmc_power_off(struct mmc *mmc)
2058{ 2058{
2059 mmc_set_signal_voltage(mmc, 0);
2059 mmc_set_vdd(mmc, false); 2060 mmc_set_vdd(mmc, false);
2060} 2061}
2061 2062