projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b7cee5
)
mmc: dw_mmc: fixed the wrong bit control
author
Jaehoon Chung
<jh80.chung@samsung.com>
Wed, 14 Jan 2015 08:37:53 +0000
(17:37 +0900)
committer
Pantelis Antoniou
<pantelis.antoniou@konsulko.com>
Mon, 23 Feb 2015 17:35:13 +0000
(19:35 +0200)
If mode is not DDR-mode, then it needs to clear it.
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/dw_mmc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/dw_mmc.c
b/drivers/mmc/dw_mmc.c
index b18c75dee2c815a7a9ddd82eac826109544cc3c0..76fa0b0534d1b5b135317ec2841b5bba7d472378 100644
(file)
--- 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);