summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/s5p_sdhci.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-03-18 07:07:20 -0400
committerTom Rini <trini@konsulko.com>2015-03-18 07:07:20 -0400
commitd283a5709d8e2bf2682a2e22fb81a47b8d53c111 (patch)
tree7dfbca9d4e18a4ee7bf1b8ddb63b7042fd112167 /drivers/mmc/s5p_sdhci.c
parent052a681bae8ee91c9854089549b20c857d499fd7 (diff)
parent3a48944bc9a7455fec97e9df74c3d5bb600d3d7c (diff)
downloadtalos-obmc-uboot-d283a5709d8e2bf2682a2e22fb81a47b8d53c111.tar.gz
talos-obmc-uboot-d283a5709d8e2bf2682a2e22fb81a47b8d53c111.zip
Merge branch 'master' of git://git.denx.de/u-boot-mmc
Diffstat (limited to 'drivers/mmc/s5p_sdhci.c')
-rw-r--r--drivers/mmc/s5p_sdhci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/s5p_sdhci.c b/drivers/mmc/s5p_sdhci.c
index 3899372e0e..0eec7310e4 100644
--- 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 |
OpenPOWER on IntegriCloud