[PATCH 12/20] mmc: mmci: Enable MMC_CAP_CMD23
Ulf Hansson
ulf.hansson at linaro.org
Fri Mar 21 08:14:09 EDT 2014
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 at linaro.org>
---
drivers/mmc/host/mmci.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c
index 2e1d1b2..edf3cfd 100644
--- a/drivers/mmc/host/mmci.c
+++ b/drivers/mmc/host/mmci.c
@@ -1532,6 +1532,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);
--
1.7.9.5
More information about the linux-arm-kernel
mailing list