openwrtv3/target/linux/brcm2708/patches-3.10/0181-Support-eMMC-5.1-cards.patch

27 lines
791 B
Diff
Raw Normal View History

From ec3df4f13db58d75bff0c5cce42d4c7c65f074c8 Mon Sep 17 00:00:00 2001
From: ghollingworth <gordon@raspberrypi.org>
Date: Fri, 21 Mar 2014 12:14:41 +0000
Subject: [PATCH 181/196] Support eMMC 5.1 cards
Already upstream and in 3.13
---
drivers/mmc/core/mmc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c
index 0cbd1ef..73f58e0 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;
--
1.9.1