mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
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> Signed-off-by: San Mehat <san@google.com>
This commit is contained in:
committed by
Arve Hjønnevåg
parent
a895a6359c
commit
f037ade21c
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user