Commit bb4e9172 authored by Carlos Eduardo Aguiar's avatar Carlos Eduardo Aguiar Committed by Tony Lindgren

OMAP: MENELAUS: MMC slot 2 misconfiguration on menelaus code

This patch corrects MMC slot 2 misconfiguration on menelaus code.
Signed-off-by: default avatarCarlos Eduardo Aguiar <carlos.aguiar@indt.org.br>
Acked-by: default avatarEduardo Valentin <eduardo.valentin@indt.org.br>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 4931e543
...@@ -357,9 +357,9 @@ int menelaus_set_mmc_slot(int slot, int enable, int power, int cd_en) ...@@ -357,9 +357,9 @@ int menelaus_set_mmc_slot(int slot, int enable, int power, int cd_en)
int b; int b;
if (enable) if (enable)
ret |= 1 << 1; val |= 1 << 1;
else else
ret &= ~(1 << 1); val &= ~(1 << 1);
b = menelaus_read_reg(MENELAUS_MCT_CTRL2); b = menelaus_read_reg(MENELAUS_MCT_CTRL2);
b &= ~0x03; b &= ~0x03;
b |= power; b |= power;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment