From: Ludovic Desroches Date: Wed, 21 Mar 2012 15:41:22 +0000 (+0100) Subject: mmc: atmel-mci: r/w proof capability only available since v2xx X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=33ab4bbbdf6c60a8c196b5a28215a93aa2a4ed2e;p=linux-beck.git mmc: atmel-mci: r/w proof capability only available since v2xx Signed-off-by: Ludovic Desroches Acked-by: Nicolas Ferre Signed-off-by: Chris Ball --- 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;