mmc: sdhci: Enable high-speed support for MMC cards
authorZhangfei Gao <zgao6@marvell.com>
Tue, 17 Aug 2010 01:15:32 +0000 (21:15 -0400)
committerChris Ball <cjb@laptop.org>
Sat, 23 Oct 2010 13:11:14 +0000 (21:11 +0800)
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>
drivers/mmc/host/sdhci.c

index e3c9153a87e83f6a14b20f268c51488eef7906da..4c8631de50cd9738f99001057d5b7e95dfe82646 100644 (file)
@@ -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;