summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2015-01-14 17:37:53 +0900
committerPantelis Antoniou <pantelis.antoniou@konsulko.com>2015-02-23 19:35:13 +0200
commitafc9e2b509a6db3b716c81c97f9147491ebf76ba (patch)
treea1f5088b70d8abf69cebc8eed095861c3d421fb5
parent4b7cee533630202095748ecb396bd9eacf47ff3f (diff)
mmc: dw_mmc: fixed the wrong bit control
If mode is not DDR-mode, then it needs to clear it. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
-rw-r--r--drivers/mmc/dw_mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/dw_mmc.c b/drivers/mmc/dw_mmc.c
index b18c75dee2c..76fa0b0534d 100644
--- a/drivers/mmc/dw_mmc.c
+++ b/drivers/mmc/dw_mmc.c
@@ -321,7 +321,7 @@ static void dwmci_set_ios(struct mmc *mmc)
if (mmc->ddr_mode)
regs |= DWMCI_DDR_MODE;
else
- regs &= DWMCI_DDR_MODE;
+ regs &= ~DWMCI_DDR_MODE;
dwmci_writel(host, DWMCI_UHS_REG, regs);