提交 afc9e2b5 编写于 作者: J Jaehoon Chung 提交者: Pantelis Antoniou

mmc: dw_mmc: fixed the wrong bit control

If mode is not DDR-mode, then it needs to clear it.
Signed-off-by: NJaehoon Chung <jh80.chung@samsung.com>
上级 4b7cee53
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册