projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
323aaaa
)
mmc: s5p: properly mask SELBASECLK
author
Matt Reimer
<mreimer@sdgsystems.com>
Mon, 23 Feb 2015 21:52:22 +0000
(14:52 -0700)
committer
Pantelis Antoniou
<pantelis.antoniou@konsulko.com>
Wed, 18 Mar 2015 07:51:56 +0000
(09:51 +0200)
Properly mask SELBASECLK by using an actual mask rather than the
number of bits to shift in order to create the mask.
Signed-off-by: Matt Reimer <mreimer@sdgsystems.com>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/s5p_sdhci.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/s5p_sdhci.c
b/drivers/mmc/s5p_sdhci.c
index 3899372e0e44a82ab9df970fb95e0292fbc19d29..0eec7310e4d7300a54f12379a1c1d4df3da78dc1 100644
(file)
--- a/
drivers/mmc/s5p_sdhci.c
+++ b/
drivers/mmc/s5p_sdhci.c
@@
-30,7
+30,7
@@
static void s5p_sdhci_set_control_reg(struct sdhci_host *host)
sdhci_writel(host, SDHCI_CTRL4_DRIVE_MASK(0x3), SDHCI_CONTROL4);
val = sdhci_readl(host, SDHCI_CONTROL2);
- val &= SDHCI_CTRL2_SELBASECLK_
SHIFT
;
+ val &= SDHCI_CTRL2_SELBASECLK_
MASK(3)
;
val |= SDHCI_CTRL2_ENSTAASYNCCLR |
SDHCI_CTRL2_ENCMDCNFMSK |