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> Cc: <linux-mmc@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
5fa83ce284
commit
11723ab15d
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ static int mmc_read_ext_csd(struct mmc_card *card)
|
||||||
}
|
}
|
||||||
|
|
||||||
card->ext_csd.rev = ext_csd[EXT_CSD_REV];
|
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 "
|
printk(KERN_ERR "%s: unrecognised EXT_CSD structure "
|
||||||
"version %d\n", mmc_hostname(card->host),
|
"version %d\n", mmc_hostname(card->host),
|
||||||
card->ext_csd.rev);
|
card->ext_csd.rev);
|
||||||
|
|
Loading…
Add table
Reference in a new issue