mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-24 19:40:21 +09:00
emmc 5.0 ext_csd check
This commit is contained in:
@@ -292,7 +292,7 @@ static int mmc_read_ext_csd(struct mmc_card *card, u8 *ext_csd)
|
||||
}
|
||||
|
||||
card->ext_csd.rev = ext_csd[EXT_CSD_REV];
|
||||
if (card->ext_csd.rev > 6) {
|
||||
if (card->ext_csd.rev > 7) {
|
||||
pr_err("%s: unrecognised EXT_CSD revision %d\n",
|
||||
mmc_hostname(card->host), card->ext_csd.rev);
|
||||
err = -EINVAL;
|
||||
|
||||
Reference in New Issue
Block a user