aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mmc/host/sdhci-esdhc-imx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c
index 3b9c94f74ed0..1652e18b399b 100644
--- a/drivers/mmc/host/sdhci-esdhc-imx.c
+++ b/drivers/mmc/host/sdhci-esdhc-imx.c
@@ -226,6 +226,10 @@ static u32 esdhc_readl_le(struct sdhci_host *host, int reg)
226 } 226 }
227 227
228 if (unlikely(reg == SDHCI_CAPABILITIES)) { 228 if (unlikely(reg == SDHCI_CAPABILITIES)) {
229 /* ignore bit[0-15] as it stores cap_1 register val for mx6sl */
230 if (imx_data->socdata->flags & ESDHC_FLAG_HAVE_CAP1)
231 val &= 0xffff0000;
232
229 /* In FSL esdhc IC module, only bit20 is used to indicate the 233 /* In FSL esdhc IC module, only bit20 is used to indicate the
230 * ADMA2 capability of esdhc, but this bit is messed up on 234 * ADMA2 capability of esdhc, but this bit is messed up on
231 * some SOCs (e.g. on MX25, MX35 this bit is set, but they 235 * some SOCs (e.g. on MX25, MX35 this bit is set, but they