public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* MMC: Accept EXT_CSD rev 1.3 assuming it is backwards compatible with 1.2
@ 2009-03-24 12:12 Adrian Hunter
  2009-03-24 20:10 ` Pierre Ossman
  0 siblings, 1 reply; 4+ messages in thread
From: Adrian Hunter @ 2009-03-24 12:12 UTC (permalink / raw)
  To: Pierre Ossman; +Cc: Lavinen Jarkko (Nokia-M/Helsinki), LKML

>From a939998e34cbc263317d51b21ab52c8d5863a913 Mon Sep 17 00:00:00 2001
From: Jarkko Lavinen <jarkko.lavinen@nokia.com>
Date: Thu, 27 Nov 2008 14:30:32 +0200
Subject: MMC: Accept EXT_CSD rev 1.3 assuming it is backwards compatible with 1.2

Signed-off-by: Jarkko Lavinen <jarkko.lavinen@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 fdd7c76..3f5b089 100644
--- a/drivers/mmc/core/mmc.c
+++ b/drivers/mmc/core/mmc.c
@@ -208,7 +208,7 @@ static int mmc_read_ext_csd(struct mmc_card *card)
 	}
 
 	ext_csd_struct = ext_csd[EXT_CSD_REV];
-	if (ext_csd_struct > 2) {
+	if (ext_csd_struct > 3) {
 		printk(KERN_ERR "%s: unrecognised EXT_CSD structure "
 			"version %d\n", mmc_hostname(card->host),
 			ext_csd_struct);
-- 
1.5.4.3

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

end of thread, other threads:[~2009-03-25 19:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-24 12:12 MMC: Accept EXT_CSD rev 1.3 assuming it is backwards compatible with 1.2 Adrian Hunter
2009-03-24 20:10 ` Pierre Ossman
2009-03-25  8:05   ` Adrian Hunter
2009-03-25 19:35     ` Pierre Ossman

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