summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBalaji Rao <balajirrao@openmoko.org>2009-02-25 10:58:09 +0100
committerPierre Ossman <drzeus@drzeus.cx>2009-03-24 21:30:01 +0100
commitd3096f88ac4596a509fc5fbe6fa7e7a5497eb399 (patch)
tree066fdcb97204fd92de8113e85550538f235ecbaf /drivers
parentsdio: check that addresses are within the address space (diff)
downloadlinux-d3096f88ac4596a509fc5fbe6fa7e7a5497eb399.tar.xz
linux-d3096f88ac4596a509fc5fbe6fa7e7a5497eb399.zip
mmc: During unsafe resume, select the right volatge for the card
During mmc unsafe resume, choose the right voltage for the card after powerup. Although this has not seen to cause trouble, it's the wrong behaviour. Signed-off-by: Balaji Rao <balajirrao@openmoko.org> Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/core/core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
index b5899e33b687..4a18d90556d9 100644
--- a/drivers/mmc/core/core.c
+++ b/drivers/mmc/core/core.c
@@ -877,6 +877,7 @@ int mmc_resume_host(struct mmc_host *host)
mmc_bus_get(host);
if (host->bus_ops && !host->bus_dead) {
mmc_power_up(host);
+ mmc_select_voltage(host, host->ocr);
BUG_ON(!host->bus_ops->resume);
host->bus_ops->resume(host);
}