commit | 401fc50aa4e2a71ef9240c8c9162369219dca193 | [log] [tgz] |
---|---|---|
author | Jaehoon Chung <jh80.chung@samsung.com> | Wed Jan 14 17:37:53 2015 +0900 |
committer | Pantelis Antoniou <pantelis.antoniou@konsulko.com> | Mon Feb 23 19:35:13 2015 +0200 |
tree | a1f5088b70d8abf69cebc8eed095861c3d421fb5 | |
parent | a095bfd1d8374c4b8ba4b358bb399ea405c01fdc [diff] [blame] |
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>
diff --git a/drivers/mmc/dw_mmc.c b/drivers/mmc/dw_mmc.c index b18c75d..76fa0b0 100644 --- a/drivers/mmc/dw_mmc.c +++ b/drivers/mmc/dw_mmc.c
@@ -321,7 +321,7 @@ if (mmc->ddr_mode) regs |= DWMCI_DDR_MODE; else - regs &= DWMCI_DDR_MODE; + regs &= ~DWMCI_DDR_MODE; dwmci_writel(host, DWMCI_UHS_REG, regs);