git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mmc: core: Fix voltage select in DDR mode
[pandora-kernel.git]
/
drivers
/
mmc
/
core
/
mmc.c
diff --git
a/drivers/mmc/core/mmc.c
b/drivers/mmc/core/mmc.c
index
d240427
..
fb7c27f
100644
(file)
--- a/
drivers/mmc/core/mmc.c
+++ b/
drivers/mmc/core/mmc.c
@@
-1048,7
+1048,7
@@
static int mmc_init_card(struct mmc_host *host, u32 ocr,
*
* WARNING: eMMC rules are NOT the same as SD DDR
*/
- if (ddr ==
EXT_CSD_CARD_TYPE_DDR_1_2V
) {
+ if (ddr ==
MMC_1_2V_DDR_MODE
) {
err = mmc_set_signal_voltage(host,
MMC_SIGNAL_VOLTAGE_120, 0);
if (err)