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-Tag: next-20120402~27^2~8 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e4a0e921820a4f90f0c1566f8f7128aadaa2f691;p=karo-tx-linux.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;