diff options
author | Balaji Rao <balajirrao@openmoko.org> | 2009-02-25 15:28:09 +0530 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2009-03-24 21:30:01 +0100 |
commit | d3096f88ac4596a509fc5fbe6fa7e7a5497eb399 (patch) | |
tree | 066fdcb97204fd92de8113e85550538f235ecbaf /drivers/mmc/core | |
parent | be6f19fc24c937112d251232b3dae7e05e96aad1 (diff) | |
download | op-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')
-rw-r--r-- | drivers/mmc/core/core.c | 1 |
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); } |