From: Zhangfei Gao Date: Tue, 17 Aug 2010 01:15:32 +0000 (-0400) Subject: mmc: sdhci: Enable high-speed support for MMC cards X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a29e7e18bddde778deb2cb101dbceca56b15e05e;p=openwrt%2Fstaging%2Fblogic.git 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 Acked-by: Matt Fleming Acked-by: Kyungmin Park Signed-off-by: Andrew Morton Signed-off-by: Chris Ball --- diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index e3c9153a87e8..4c8631de50cd 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;