]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
mmc: atmel-mci: r/w proof capability only available since v2xx
authorLudovic Desroches <ludovic.desroches@atmel.com>
Wed, 21 Mar 2012 15:41:22 +0000 (16:41 +0100)
committerChris Ball <cjb@laptop.org>
Fri, 6 Apr 2012 00:32:21 +0000 (20:32 -0400)
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>
drivers/mmc/host/atmel-mci.c

index 34080f590f69441be48dc419748596215aa82918..c56edc4a8e263bb8da9b87d4e6fbe1a15a6aefc2 100644 (file)
@@ -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;