diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2014-03-19 12:54:18 (GMT) |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2014-05-12 10:52:42 (GMT) |
commit | 9dd8a8b81c7c947e9be29ca047f10ac9910a41bb (patch) | |
tree | 1d15d0d830fac76dd287e911a16bc0abd66b80bc | |
parent | 3ad418e0f0c8ab78222f2db9547b21a2902d5a21 (diff) | |
download | linux-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>
-rw-r--r-- | drivers/mmc/host/mmci.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c index c522308..0d3ee08 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); |