kernel: add eMMC 5.x support.

This commit is contained in:
Arne Fitzenreiter
2014-10-11 09:26:57 +02:00
parent a115a8908c
commit bedebe8847
2 changed files with 15 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
diff -Naur linux-3.10.57.org/drivers/mmc/core/mmc.c linux-3.10.57/drivers/mmc/core/mmc.c
--- linux-3.10.57.org/drivers/mmc/core/mmc.c 2014-10-09 21:18:54.000000000 +0200
+++ linux-3.10.57/drivers/mmc/core/mmc.c 2014-10-11 09:20:02.225472403 +0200
@@ -293,7 +293,7 @@
}
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;