aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2014-03-19 08:54:18 -0400
committerUlf Hansson <ulf.hansson@linaro.org>2014-05-12 06:52:42 -0400
commit9dd8a8b81c7c947e9be29ca047f10ac9910a41bb (patch)
tree1d15d0d830fac76dd287e911a16bc0abd66b80bc /drivers/mmc
parent3ad418e0f0c8ab78222f2db9547b21a2902d5a21 (diff)
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,
1533 mmc->caps2 |= MMC_CAP2_RO_ACTIVE_HIGH; 1533 mmc->caps2 |= MMC_CAP2_RO_ACTIVE_HIGH;
1534 } 1534 }
1535 1535
1536 /* We support these capabilities. */
1537 mmc->caps |= MMC_CAP_CMD23;
1538
1536 if (variant->busy_detect) { 1539 if (variant->busy_detect) {
1537 mmci_ops.card_busy = mmci_card_busy; 1540 mmci_ops.card_busy = mmci_card_busy;
1538 mmci_write_datactrlreg(host, MCI_ST_DPSM_BUSYMODE); 1541 mmci_write_datactrlreg(host, MCI_ST_DPSM_BUSYMODE);