public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mmc: allow for MMC v4.4
@ 2009-12-18 12:25 Adrian Hunter
  2009-12-22 22:22 ` Andrew Morton
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Hunter @ 2009-12-18 12:25 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Pierre Ossman, Linux MMC Mailing List

>From f296e2af6497a42f825ba37b138ec8db3e0eef61 Mon Sep 17 00:00:00 2001
From: Adrian Hunter <adrian.hunter@nokia.com>
Date: Wed, 16 Dec 2009 10:08:04 +0200
Subject: [PATCH] mmc: allow for MMC v4.4

JEDEC eMMC specification version 4.4 (MMCA 4.4) defines
Extended CSD structure versions up to 5.

Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com>
---
 drivers/mmc/core/mmc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c
index bfefce3..32af45c 100644
--- a/drivers/mmc/core/mmc.c
+++ b/drivers/mmc/core/mmc.c
@@ -207,7 +207,7 @@ static int mmc_read_ext_csd(struct mmc_card *card)
 	}
 
 	card->ext_csd.rev = ext_csd[EXT_CSD_REV];
-	if (card->ext_csd.rev > 3) {
+	if (card->ext_csd.rev > 5) {
 		printk(KERN_ERR "%s: unrecognised EXT_CSD structure "
 			"version %d\n", mmc_hostname(card->host),
 			card->ext_csd.rev);
-- 
1.6.0.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-12-22 22:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-18 12:25 [PATCH] mmc: allow for MMC v4.4 Adrian Hunter
2009-12-22 22:22 ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox