ixp4xx: remove linux 3.10 support
[openwrt/svn-archive/archive.git] / target / linux / brcm2708 / patches-3.10 / 0011-sdhci-bcm2708-speed-up-DMA-sync.patch
1 From 07947cfde701f7ba29b06574e9533bd6459da8ad Mon Sep 17 00:00:00 2001
2 From: Grigori Goronzy <greg@blackbox>
3 Date: Mon, 4 Jun 2012 04:27:48 +0200
4 Subject: [PATCH 011/196] sdhci-bcm2708: speed up DMA sync
5
6 Experiments show that it doesn't really take that long to sync, so we
7 can reduce the poll interval slightly. Might improve performance a bit.
8 ---
9 drivers/mmc/host/sdhci-bcm2708.c | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12 diff --git a/drivers/mmc/host/sdhci-bcm2708.c b/drivers/mmc/host/sdhci-bcm2708.c
13 index ae8edf7..a6bdc25 100644
14 --- a/drivers/mmc/host/sdhci-bcm2708.c
15 +++ b/drivers/mmc/host/sdhci-bcm2708.c
16 @@ -897,7 +897,7 @@ static void sdhci_bcm2708_dma_complete_irq(struct sdhci_host *host,
17 while (0 != (sdhci_bcm2708_raw_readl(host, SDHCI_PRESENT_STATE)
18 & state_mask) && --timeout > 0)
19 {
20 - udelay(100);
21 + udelay(30);
22 continue;
23 }
24 if (timeout <= 0)
25 --
26 1.9.1
27