diff options
author | Kyungmin Park <kyungmin.park@samsung.com> | 2011-07-26 12:12:37 +0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-08-13 22:50:22 +0400 |
commit | 38ca285044be88a0fb47b6eb91deeeb729435fd0 (patch) | |
tree | 9744f6c6d3830fa55ef64a7ef8efca6893aa17fa /drivers/mmc | |
parent | d5a5bd1c3f7e8d010393530d60df8da75218a488 (diff) | |
download | linux-38ca285044be88a0fb47b6eb91deeeb729435fd0.tar.xz |
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>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/core/mmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c index aa7d1d79b8c5..5700b1cbdfec 100644 --- a/drivers/mmc/core/mmc.c +++ b/drivers/mmc/core/mmc.c @@ -259,7 +259,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 > 5) { + if (card->ext_csd.rev > 6) { printk(KERN_ERR "%s: unrecognised EXT_CSD revision %d\n", mmc_hostname(card->host), card->ext_csd.rev); err = -EINVAL; |