openwrtv4/target/linux/brcm2708/patches-3.10/0107-sdhci-Only-do-one-iteration-of-PIO-reading-loop.patch
Florian Fainelli 6918ea2484 brcm2708: update 3.10 patches with raspberrypi/rpi-3.10.y of 27 Apr. 2014
Update the 3.10 rasperry patches by rebasing raspberry/rpi-3.10-y
against linux-stable/v3.10.49.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 42678
2014-09-27 19:10:51 +00:00

24 lines
724 B
Diff

From cb78955cb0bedd81351bbe017dd5642f1358148d Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 20 Nov 2013 11:22:05 +0000
Subject: [PATCH 107/196] sdhci: Only do one iteration of PIO reading loop
---
drivers/mmc/host/sdhci.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
index 9c93e00..b4faaff 100644
--- a/drivers/mmc/host/sdhci.c
+++ b/drivers/mmc/host/sdhci.c
@@ -539,6 +539,7 @@ static void sdhci_transfer_pio(struct sdhci_host *host, u32 intstate)
break;
state = sdhci_readl(host, SDHCI_PRESENT_STATE);
available = state & mask;
+ break;
}
DBG("PIO transfer complete - %d blocks left.\n", host->blocks);
--
1.9.1