diff options
author | Ludovic Desroches <ludovic.desroches@atmel.com> | 2012-03-21 16:41:22 +0100 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-04-05 20:32:21 -0400 |
commit | 33ab4bbbdf6c60a8c196b5a28215a93aa2a4ed2e (patch) | |
tree | 4595cb776a1f094b859b175a342a9a9d2f9482f5 | |
parent | 66292ad92c6d3f2f1c137a1c826b331ca8595dfd (diff) | |
download | linux-33ab4bbbdf6c60a8c196b5a28215a93aa2a4ed2e.tar.gz linux-33ab4bbbdf6c60a8c196b5a28215a93aa2a4ed2e.tar.bz2 linux-33ab4bbbdf6c60a8c196b5a28215a93aa2a4ed2e.zip |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c index 34080f590f69..c56edc4a8e26 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; |