brcm2708: update 3.10 patches with raspberrypi/rpi-3.10.y of 27 Apr. 2014
[openwrt/svn-archive/archive.git] / target / linux / brcm2708 / patches-3.10 / 0107-sdhci-Only-do-one-iteration-of-PIO-reading-loop.patch
1 From cb78955cb0bedd81351bbe017dd5642f1358148d Mon Sep 17 00:00:00 2001
2 From: popcornmix <popcornmix@gmail.com>
3 Date: Wed, 20 Nov 2013 11:22:05 +0000
4 Subject: [PATCH 107/196] sdhci: Only do one iteration of PIO reading loop
5
6 ---
7 drivers/mmc/host/sdhci.c | 1 +
8 1 file changed, 1 insertion(+)
9
10 diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
11 index 9c93e00..b4faaff 100644
12 --- a/drivers/mmc/host/sdhci.c
13 +++ b/drivers/mmc/host/sdhci.c
14 @@ -539,6 +539,7 @@ static void sdhci_transfer_pio(struct sdhci_host *host, u32 intstate)
15 break;
16 state = sdhci_readl(host, SDHCI_PRESENT_STATE);
17 available = state & mask;
18 + break;
19 }
20
21 DBG("PIO transfer complete - %d blocks left.\n", host->blocks);
22 --
23 1.9.1
24