diff options
author | Zhangfei Gao <zgao6@marvell.com> | 2010-08-16 21:15:32 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2010-10-23 09:11:14 -0400 |
commit | a29e7e18bddde778deb2cb101dbceca56b15e05e (patch) | |
tree | 20a6d129e2e3918aa53accf13dcf35ec0bbdddbc /drivers/mmc/host/sdhci.c | |
parent | 0397526d6ae2518b6c53efd1ff1e81b7d24c91da (diff) |
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>
Diffstat (limited to 'drivers/mmc/host/sdhci.c')
-rw-r--r-- | drivers/mmc/host/sdhci.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
1846 | mmc->caps |= MMC_CAP_4_BIT_DATA; | 1846 | mmc->caps |= MMC_CAP_4_BIT_DATA; |
1847 | 1847 | ||
1848 | if (caps & SDHCI_CAN_DO_HISPD) | 1848 | if (caps & SDHCI_CAN_DO_HISPD) |
1849 | mmc->caps |= MMC_CAP_SD_HIGHSPEED; | 1849 | mmc->caps |= MMC_CAP_SD_HIGHSPEED | MMC_CAP_MMC_HIGHSPEED; |
1850 | 1850 | ||
1851 | if (host->quirks & SDHCI_QUIRK_BROKEN_CARD_DETECTION) | 1851 | if (host->quirks & SDHCI_QUIRK_BROKEN_CARD_DETECTION) |
1852 | mmc->caps |= MMC_CAP_NEEDS_POLL; | 1852 | mmc->caps |= MMC_CAP_NEEDS_POLL; |