Skip to content

Commit

Permalink
mmc: sdhci-of-esdhc: support commands with busy response expecting TC
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jerry Huang authored and Chris Ball committed Dec 6, 2012
1 parent ab5023e commit 3cf3883
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/mmc/host/sdhci-of-esdhc.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,9 @@ static void esdhc_of_platform_init(struct sdhci_host *host)
vvn = (vvn & SDHCI_VENDOR_VER_MASK) >> SDHCI_VENDOR_VER_SHIFT;
if (vvn == VENDOR_V_22)
host->quirks2 |= SDHCI_QUIRK2_HOST_NO_CMD23;

if (vvn > VENDOR_V_22)
host->quirks &= ~SDHCI_QUIRK_NO_BUSY_IRQ;
}

static struct sdhci_ops sdhci_esdhc_ops = {
Expand Down

0 comments on commit 3cf3883

Please sign in to comment.