Skip to content

Commit

Permalink
mmc: atmel-mci: r/w proof capability only available since v2xx
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ludovic Desroches authored and Chris Ball committed Apr 6, 2012
1 parent 66292ad commit 33ab4bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/mmc/host/atmel-mci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 33ab4bb

Please sign in to comment.