projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20366f5
)
mmc: sdhci: Fix 4-bit wide support capability
author
Dmitry Shmidt
<dimitrysh@google.com>
Thu, 7 Oct 2010 17:55:04 +0000
(10:55 -0700)
committer
Dmitry Shmidt
<dimitrysh@google.com>
Thu, 7 Oct 2010 17:55:04 +0000
(10:55 -0700)
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
drivers/mmc/host/sdhci.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/sdhci.c
b/drivers/mmc/host/sdhci.c
index 5d0792dc6890eb223c1bcb1cb09eef3df30d32ff..6709cfb5d4e881cf9ffa7b70101a8e247b0b055a 100644
(file)
--- a/
drivers/mmc/host/sdhci.c
+++ b/
drivers/mmc/host/sdhci.c
@@
-1853,9
+1853,9
@@
int sdhci_add_host(struct sdhci_host *host)
if (host->quirks & SDHCI_QUIRK_8_BIT_DATA)
mmc->caps |= MMC_CAP_8_BIT_DATA;
- else if (!(host->quirks & SDHCI_QUIRK_FORCE_1_BIT_DATA))
- mmc->caps |= MMC_CAP_4_BIT_DATA;
+ if (!(host->quirks & SDHCI_QUIRK_FORCE_1_BIT_DATA))
+ mmc->caps |= MMC_CAP_4_BIT_DATA;
if (!(host->quirks & SDHCI_QUIRK_NO_SDIO_IRQ))
mmc->caps |= MMC_CAP_SDIO_IRQ;