From: Adrian Hunter Date: Fri, 8 Jan 2010 22:43:01 +0000 (-0800) Subject: mmc: allow for MMC v4.4 X-Git-Tag: upstream/snapshot3+hdmi~15911 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=11723ab15d28e71dd118a8a92f98493f5a5907da;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c index c111894..0eac6c8 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);