diff options
author | Giuseppe Cavallaro <peppe.cavallaro@st.com> | 2010-09-20 21:22:13 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2010-10-23 09:11:14 -0400 |
commit | b08caed8659ab27199db51c63a35c5ee067fc7ef (patch) | |
tree | a6ae82a36747b31a4c4fb52e0eaea5caafc7e9a5 | |
parent | a29e7e18bddde778deb2cb101dbceca56b15e05e (diff) |
mmc: sdhci: add MMC_CAP_8_BIT_DATA in the host capabilities
This patch is necessary to gain the performance boost from 8-bit data
with the sdhci-stm driver.
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
-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 4c8631de50cd..e335f4f43a4b 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c | |||
@@ -1843,7 +1843,7 @@ int sdhci_add_host(struct sdhci_host *host) | |||
1843 | mmc->caps |= MMC_CAP_SDIO_IRQ; | 1843 | mmc->caps |= MMC_CAP_SDIO_IRQ; |
1844 | 1844 | ||
1845 | if (!(host->quirks & SDHCI_QUIRK_FORCE_1_BIT_DATA)) | 1845 | if (!(host->quirks & SDHCI_QUIRK_FORCE_1_BIT_DATA)) |
1846 | mmc->caps |= MMC_CAP_4_BIT_DATA; | 1846 | mmc->caps |= MMC_CAP_4_BIT_DATA | MMC_CAP_8_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 | MMC_CAP_MMC_HIGHSPEED; | 1849 | mmc->caps |= MMC_CAP_SD_HIGHSPEED | MMC_CAP_MMC_HIGHSPEED; |