diff options
author | Balaji Rao <balajirrao@openmoko.org> | 2009-02-25 04:58:09 -0500 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2009-03-24 16:30:01 -0400 |
commit | d3096f88ac4596a509fc5fbe6fa7e7a5497eb399 (patch) | |
tree | 066fdcb97204fd92de8113e85550538f235ecbaf /drivers/mmc | |
parent | be6f19fc24c937112d251232b3dae7e05e96aad1 (diff) |
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')
-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 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) | |||
877 | mmc_bus_get(host); | 877 | mmc_bus_get(host); |
878 | if (host->bus_ops && !host->bus_dead) { | 878 | if (host->bus_ops && !host->bus_dead) { |
879 | mmc_power_up(host); | 879 | mmc_power_up(host); |
880 | mmc_select_voltage(host, host->ocr); | ||
880 | BUG_ON(!host->bus_ops->resume); | 881 | BUG_ON(!host->bus_ops->resume); |
881 | host->bus_ops->resume(host); | 882 | host->bus_ops->resume(host); |
882 | } | 883 | } |