summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhangfei Gao <zgao6@marvell.com>2010-08-17 01:15:32 (GMT)
committerChris Ball <cjb@laptop.org>2010-10-23 13:11:14 (GMT)
commita29e7e18bddde778deb2cb101dbceca56b15e05e (patch)
tree20a6d129e2e3918aa53accf13dcf35ec0bbdddbc
parent0397526d6ae2518b6c53efd1ff1e81b7d24c91da (diff)
downloadlinux-fsl-qoriq-a29e7e18bddde778deb2cb101dbceca56b15e05e.tar.xz
mmc: sdhci: Enable high-speed support for MMC cards
MMC_CAP_MMC_HIGHSPEED allows MMC and eMMC to negotiate up to 50M instead of the previous limit of 25M. Signed-off-by: Zhangfei Gao <zgao6@marvell.com> Acked-by: Matt Fleming <matt@console-pimps.org> Acked-by: Kyungmin Park <kmpark@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Chris Ball <cjb@laptop.org>
-rw-r--r--drivers/mmc/host/sdhci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
index e3c9153..4c8631d 100644
--- a/drivers/mmc/host/sdhci.c
+++ b/drivers/mmc/host/sdhci.c
@@ -1846,7 +1846,7 @@ int sdhci_add_host(struct sdhci_host *host)
mmc->caps |= MMC_CAP_4_BIT_DATA;
if (caps & SDHCI_CAN_DO_HISPD)
- mmc->caps |= MMC_CAP_SD_HIGHSPEED;
+ mmc->caps |= MMC_CAP_SD_HIGHSPEED | MMC_CAP_MMC_HIGHSPEED;
if (host->quirks & SDHCI_QUIRK_BROKEN_CARD_DETECTION)
mmc->caps |= MMC_CAP_NEEDS_POLL;