Commit a29e7e18 authored by Zhangfei Gao's avatar Zhangfei Gao Committed by Chris Ball

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: default avatarZhangfei Gao <zgao6@marvell.com>
Acked-by: default avatarMatt Fleming <matt@console-pimps.org>
Acked-by: default avatarKyungmin Park <kmpark@infradead.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent 0397526d
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment