aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJerry Huang <Chang-Ming.Huang@freescale.com>2012-11-23 04:25:03 -0500
committerChris Ball <cjb@laptop.org>2012-12-06 13:55:00 -0500
commit3cf38833c7fc72b4f4757fc5d0b4cd43ac192e55 (patch)
tree9ce2e64ea6c09b912e88089e25b009250da5e24f
parentab5023efdcfa87512663aca120245b0fec8511eb (diff)
mmc: sdhci-of-esdhc: support commands with busy response expecting TC
The IP versions older than 2.3 didn't support commands with busy response which expect the TC bit set. But after the VVN2.3, eSDHC IP has supported it. Signed-off-by: Jerry Huang <Chang-Ming.Huang@freescale.com> Signed-off-by: Chris Ball <cjb@laptop.org>
-rw-r--r--drivers/mmc/host/sdhci-of-esdhc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-of-esdhc.c b/drivers/mmc/host/sdhci-of-esdhc.c
index 63d219f57cae..cfabc43a4ff2 100644
--- a/drivers/mmc/host/sdhci-of-esdhc.c
+++ b/drivers/mmc/host/sdhci-of-esdhc.c
@@ -177,6 +177,9 @@ static void esdhc_of_platform_init(struct sdhci_host *host)
177 vvn = (vvn & SDHCI_VENDOR_VER_MASK) >> SDHCI_VENDOR_VER_SHIFT; 177 vvn = (vvn & SDHCI_VENDOR_VER_MASK) >> SDHCI_VENDOR_VER_SHIFT;
178 if (vvn == VENDOR_V_22) 178 if (vvn == VENDOR_V_22)
179 host->quirks2 |= SDHCI_QUIRK2_HOST_NO_CMD23; 179 host->quirks2 |= SDHCI_QUIRK2_HOST_NO_CMD23;
180
181 if (vvn > VENDOR_V_22)
182 host->quirks &= ~SDHCI_QUIRK_NO_BUSY_IRQ;
180} 183}
181 184
182static struct sdhci_ops sdhci_esdhc_ops = { 185static struct sdhci_ops sdhci_esdhc_ops = {