summaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorLudovic Desroches <ludovic.desroches@atmel.com>2012-03-21 16:41:22 +0100
committerChris Ball <cjb@laptop.org>2012-04-05 20:32:21 -0400
commit33ab4bbbdf6c60a8c196b5a28215a93aa2a4ed2e (patch)
tree4595cb776a1f094b859b175a342a9a9d2f9482f5 /drivers/mmc
parent66292ad92c6d3f2f1c137a1c826b331ca8595dfd (diff)
downloadop-kernel-dev-33ab4bbbdf6c60a8c196b5a28215a93aa2a4ed2e.zip
op-kernel-dev-33ab4bbbdf6c60a8c196b5a28215a93aa2a4ed2e.tar.gz
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>
Diffstat (limited to 'drivers/mmc')
-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;
OpenPOWER on IntegriCloud