summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Desroches <ludovic.desroches@atmel.com>2012-03-21 15:41:22 (GMT)
committerChris Ball <cjb@laptop.org>2012-04-06 00:32:21 (GMT)
commit33ab4bbbdf6c60a8c196b5a28215a93aa2a4ed2e (patch)
tree4595cb776a1f094b859b175a342a9a9d2f9482f5
parent66292ad92c6d3f2f1c137a1c826b331ca8595dfd (diff)
downloadlinux-fsl-qoriq-33ab4bbbdf6c60a8c196b5a28215a93aa2a4ed2e.tar.xz
mmc: atmel-mci: r/w proof capability only available since v2xx
Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Chris Ball <cjb@laptop.org>
-rw-r--r--drivers/mmc/host/atmel-mci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c
index 34080f5..c56edc4 100644
--- a/drivers/mmc/host/atmel-mci.c
+++ b/drivers/mmc/host/atmel-mci.c
@@ -2023,6 +2023,8 @@ static void __init atmci_get_cap(struct atmel_mci *host)
/* keep only major version number */
switch (version & 0xf00) {
case 0x100:
+ host->caps.has_pdc = 1;
+ break;
case 0x200:
host->caps.has_pdc = 1;
host->caps.has_rwproof = 1;