Commit 33ab4bbb authored by Ludovic Desroches's avatar Ludovic Desroches Committed by Chris Ball

mmc: atmel-mci: r/w proof capability only available since v2xx

Signed-off-by: default avatarLudovic Desroches <ludovic.desroches@atmel.com>
Acked-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent 66292ad9
...@@ -2023,6 +2023,8 @@ static void __init atmci_get_cap(struct atmel_mci *host) ...@@ -2023,6 +2023,8 @@ static void __init atmci_get_cap(struct atmel_mci *host)
/* keep only major version number */ /* keep only major version number */
switch (version & 0xf00) { switch (version & 0xf00) {
case 0x100: case 0x100:
host->caps.has_pdc = 1;
break;
case 0x200: case 0x200:
host->caps.has_pdc = 1; host->caps.has_pdc = 1;
host->caps.has_rwproof = 1; host->caps.has_rwproof = 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment