summaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2014-03-19 16:54:18 +0400
committerUlf Hansson <ulf.hansson@linaro.org>2014-05-12 14:52:42 +0400
commit9dd8a8b81c7c947e9be29ca047f10ac9910a41bb (patch)
tree1d15d0d830fac76dd287e911a16bc0abd66b80bc /drivers/mmc
parent3ad418e0f0c8ab78222f2db9547b21a2902d5a21 (diff)
downloadlinux-9dd8a8b81c7c947e9be29ca047f10ac9910a41bb.tar.xz
mmc: mmci: Enable MMC_CAP_CMD23
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>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/mmci.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c
index c522308a7343..0d3ee08662a9 100644
--- 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);