Thread (10 messages) 10 messages, 3 authors, 2012-03-28
STALE5196d

[PATCH 2/3] mmc: atmel-mci: r/w proof capability only available since v2xx

From: ludovic.desroches at atmel.com <hidden>
Date: 2012-03-21 15:41:22
Also in: linux-mmc
Subsystem: microchip mmc/sd/sdio mci driver, multimedia card (mmc), secure digital (sd) and sdio subsystem, the rest · Maintainers: Aubin Constans, Ulf Hansson, Linus Torvalds

From: Ludovic Desroches <redacted>

Signed-off-by: Ludovic Desroches <redacted>
---
 drivers/mmc/host/atmel-mci.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c
index e161452..9dcb236 100644
--- a/drivers/mmc/host/atmel-mci.c
+++ b/drivers/mmc/host/atmel-mci.c
@@ -2009,6 +2009,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;
-- 
1.7.5.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help