brcm2708: update 3.10 patches with raspberrypi/rpi-3.10.y of 27 Apr. 2014
[openwrt/staging/blogic.git] / target / linux / brcm2708 / patches-3.10 / 0181-Support-eMMC-5.1-cards.patch
1 From ec3df4f13db58d75bff0c5cce42d4c7c65f074c8 Mon Sep 17 00:00:00 2001
2 From: ghollingworth <gordon@raspberrypi.org>
3 Date: Fri, 21 Mar 2014 12:14:41 +0000
4 Subject: [PATCH 181/196] Support eMMC 5.1 cards
5
6 Already upstream and in 3.13
7 ---
8 drivers/mmc/core/mmc.c | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11 diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c
12 index 0cbd1ef..73f58e0 100644
13 --- a/drivers/mmc/core/mmc.c
14 +++ b/drivers/mmc/core/mmc.c
15 @@ -293,7 +293,7 @@ static int mmc_read_ext_csd(struct mmc_card *card, u8 *ext_csd)
16 }
17
18 card->ext_csd.rev = ext_csd[EXT_CSD_REV];
19 - if (card->ext_csd.rev > 6) {
20 + if (card->ext_csd.rev > 7) {
21 pr_err("%s: unrecognised EXT_CSD revision %d\n",
22 mmc_hostname(card->host), card->ext_csd.rev);
23 err = -EINVAL;
24 --
25 1.9.1
26