projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a29e7e1
)
mmc: sdhci: add MMC_CAP_8_BIT_DATA in the host capabilities
author
Giuseppe Cavallaro
<peppe.cavallaro@st.com>
Tue, 21 Sep 2010 01:22:13 +0000
(21:22 -0400)
committer
Chris Ball
<cjb@laptop.org>
Sat, 23 Oct 2010 13:11:14 +0000
(21:11 +0800)
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>
drivers/mmc/host/sdhci.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mmc/host/sdhci.c
b/drivers/mmc/host/sdhci.c
index 4c8631de50cd9738f99001057d5b7e95dfe82646..e335f4f43a4b90adf6dc9e120fd77677ba6e575c 100644
(file)
--- 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;