Skip to contentSkip to conversation

mmc: allow for MMC v4.4

PATCH In review Adrian Hunter 2 participants 2 messages Dec 18, 2009 – Dec 22, 2009 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mmc: allow for MMC v4.4

Quoted 1 line

From f296e2af6497a42f825ba37b138ec8db3e0eef61 Mon Sep 17 00:00:00 2001

From: Adrian Hunter <[email protected]>
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.

---
drivers/mmc/core/mmc.c | 2 +-

1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mmc/core/mmc.c +0 -0
index bfefce3..32af45c 100644
@@ -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);
Signature · 1 line
1.6.0.4
#1 lore raw
Quoted 2 lines · On Fri, 18 Dec 2009 14:25:33 +0200 Adrian Hunter <[email protected]>…

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

Not such a nice changelog. It doesn't describe the effects of the current code's shortcoming so I was unable to decide whether to recommend that this patch be backported.