summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/core.c
diff options
context:
space:
mode:
authorBalaji Rao <balajirrao@openmoko.org>2009-02-25 15:28:09 +0530
committerPierre Ossman <drzeus@drzeus.cx>2009-03-24 21:30:01 +0100
commitd3096f88ac4596a509fc5fbe6fa7e7a5497eb399 (patch)
tree066fdcb97204fd92de8113e85550538f235ecbaf /drivers/mmc/core/core.c
parentbe6f19fc24c937112d251232b3dae7e05e96aad1 (diff)
downloadop-kernel-dev-d3096f88ac4596a509fc5fbe6fa7e7a5497eb399.zip
op-kernel-dev-d3096f88ac4596a509fc5fbe6fa7e7a5497eb399.tar.gz
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/mmc/core/core.c')
-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 b5899e3..4a18d90 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);
}
OpenPOWER on IntegriCloud