diff options
author | Anthony Felice <tony.felice@timesys.com> | 2013-04-26 17:47:40 -0400 |
---|---|---|
committer | Anthony Felice <tony.felice@timesys.com> | 2013-04-26 17:47:40 -0400 |
commit | 74718305534c6f1d9aaca73985d200007f29eca8 (patch) | |
tree | 3561ce36013a72900cfe4dcb1caed90f9a68dad5 /drivers/mmc/host | |
parent | 5fd6b7285c33ab549db3277afe637dfdda5232a0 (diff) |
Fix SDHC card timeout error.3.0-vybrid-ts2.3
Diffstat (limited to 'drivers/mmc/host')
-rwxr-xr-x | drivers/mmc/host/sdhci.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index 189dff37e84e..a3422f96c16d 100755 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c @@ -2658,7 +2658,11 @@ int sdhci_add_host(struct sdhci_host *host) } else mmc->f_min = host->max_clk / SDHCI_MAX_DIV_SPEC_200; +#ifdef CONFIG_ARCH_MVF + mmc->caps |= MMC_CAP_SDIO_IRQ | MMC_CAP_ERASE; +#else mmc->caps |= MMC_CAP_SDIO_IRQ | MMC_CAP_ERASE | MMC_CAP_CMD23; +#endif if (host->quirks & SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12) host->flags |= SDHCI_AUTO_CMD12; |