diff options
author | Yuvaraj Kumar C D <yuvaraj.cd@gmail.com> | 2013-05-21 15:08:43 +0530 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2013-06-27 10:38:32 -0400 |
commit | 6636bad839d9936e73e48c4841eda83a58fcdb53 (patch) | |
tree | 1a794c713c8c0518ee943625e47c7895868abdb9 /drivers/mmc | |
parent | 0b856f4ecb7b82c56ba2c3c624a4b5c865398cc6 (diff) | |
download | op-kernel-dev-6636bad839d9936e73e48c4841eda83a58fcdb53.zip op-kernel-dev-6636bad839d9936e73e48c4841eda83a58fcdb53.tar.gz |
mmc: core: Update the ext-csd.rev check for eMMC5.1
With the new eMMC5.1 spec, there is a new EXT_CSD register with
the revision number(EXT_CSD_REV) 7. This patch updates the check
for ext-csd.rev number as 7.
Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: Yuvaraj Kumar C D <yuvaraj.cd@samsung.com>
Reviewed-by: Doug Anderson <dianders@chromium.org>
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 3a69b94..9132609 100644 --- a/drivers/mmc/core/mmc.c +++ b/drivers/mmc/core/mmc.c @@ -293,7 +293,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; |