mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
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>
This commit is contained in:
parent
4b7cee5336
commit
afc9e2b509
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue