mmc: Accept EXT_CSD rev 1.3 since it is backwards compatible with 1.2
authorJarkko Lavinen <jarkko.lavinen@nokia.com>
Thu, 27 Nov 2008 12:30:32 +0000 (14:30 +0200)
committerPierre Ossman <drzeus@drzeus.cx>
Wed, 8 Apr 2009 18:04:34 +0000 (20:04 +0200)
Signed-off-by: Jarkko Lavinen <jarkko.lavinen@nokia.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/core/mmc.c

index c232d11a7ed4c16adf8de5502902889a1a7489ee..06084dbf12772fcf1c1dcf98fd220d9dd41f7f54 100644 (file)
@@ -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);