Skip to content

Commit 38ca285

Browse files
kyungmin-parkcjb
authored andcommitted
mmc: core: Detect eMMC v4.5 ext_csd entries
The eMMC v4.5 Spec is released now: EXT_CSD_REV Extended CSD Revision 255-7 Reserved 6 Revision 1.6 (for MMC v4.5) 5 Revision 1.5 (for MMV v4.41) ... Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Chris Ball <cjb@laptop.org>
1 parent d5a5bd1 commit 38ca285

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/mmc/core/mmc.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ static int mmc_read_ext_csd(struct mmc_card *card, u8 *ext_csd)
259259
}
260260

261261
card->ext_csd.rev = ext_csd[EXT_CSD_REV];
262-
if (card->ext_csd.rev > 5) {
262+
if (card->ext_csd.rev > 6) {
263263
printk(KERN_ERR "%s: unrecognised EXT_CSD revision %d\n",
264264
mmc_hostname(card->host), card->ext_csd.rev);
265265
err = -EINVAL;

0 commit comments

Comments
 (0)