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:
3ad418e
)
mmc: mmci: Enable MMC_CAP_CMD23
author
Ulf Hansson
<ulf.hansson@linaro.org>
Wed, 19 Mar 2014 12:54:18 +0000
(13:54 +0100)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Mon, 12 May 2014 10:52:42 +0000
(12:52 +0200)
This is pure software configuration, which mmci has been supporting for
a while. Let's enable it as default so we can take benefit from it.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/mmci.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/mmci.c
b/drivers/mmc/host/mmci.c
index c522308a73437429ad422517fb6db7e57385f4bf..0d3ee08662a9c07bb940960b876f674791768aa8 100644
(file)
--- a/
drivers/mmc/host/mmci.c
+++ b/
drivers/mmc/host/mmci.c
@@
-1533,6
+1533,9
@@
static int mmci_probe(struct amba_device *dev,
mmc->caps2 |= MMC_CAP2_RO_ACTIVE_HIGH;
}
+ /* We support these capabilities. */
+ mmc->caps |= MMC_CAP_CMD23;
+
if (variant->busy_detect) {
mmci_ops.card_busy = mmci_card_busy;
mmci_write_datactrlreg(host, MCI_ST_DPSM_BUSYMODE);