From: Giuseppe Cavallaro Date: Tue, 21 Sep 2010 01:22:13 +0000 (-0400) Subject: mmc: sdhci: add MMC_CAP_8_BIT_DATA in the host capabilities X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b08caed8659ab27199db51c63a35c5ee067fc7ef;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Chris Ball --- 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) mmc->caps |= MMC_CAP_SDIO_IRQ; if (!(host->quirks & SDHCI_QUIRK_FORCE_1_BIT_DATA)) - mmc->caps |= MMC_CAP_4_BIT_DATA; + mmc->caps |= MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA; if (caps & SDHCI_CAN_DO_HISPD) mmc->caps |= MMC_CAP_SD_HIGHSPEED | MMC_CAP_MMC_HIGHSPEED;