projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be6f19f
)
mmc: During unsafe resume, select the right volatge for the card
author
Balaji Rao
<balajirrao@openmoko.org>
Wed, 25 Feb 2009 09:58:09 +0000
(15:28 +0530)
committer
Pierre Ossman
<drzeus@drzeus.cx>
Tue, 24 Mar 2009 20:30:01 +0000
(21:30 +0100)
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>
drivers/mmc/core/core.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/core/core.c
b/drivers/mmc/core/core.c
index b5899e33b68705f2b72c104eaf0b1a8f8ab1be9d..4a18d90556d9563a2e311e87649d73ee2325e3b1 100644
(file)
--- 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);
}