summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/patches-3.10/0017-sdhci-bcm2708-raise-DMA-sync-timeout.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-12-13 11:55:11 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-12-13 11:55:11 +0000
commit45380ebd1ab3d604ece3dd14a84f89fbc69ea7b1 (patch)
tree816e479975bb22e39e9cbdde8fdfb400f38f72a9 /target/linux/brcm2708/patches-3.10/0017-sdhci-bcm2708-raise-DMA-sync-timeout.patch
parent170ce2961703fe3c2c74e9aa3088df2905b3697e (diff)
downloadmaster-31e0f0ae-45380ebd1ab3d604ece3dd14a84f89fbc69ea7b1.tar.gz
master-31e0f0ae-45380ebd1ab3d604ece3dd14a84f89fbc69ea7b1.tar.bz2
master-31e0f0ae-45380ebd1ab3d604ece3dd14a84f89fbc69ea7b1.zip
brcm2708: remove linux 3.10 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43687
Diffstat (limited to 'target/linux/brcm2708/patches-3.10/0017-sdhci-bcm2708-raise-DMA-sync-timeout.patch')
-rw-r--r--target/linux/brcm2708/patches-3.10/0017-sdhci-bcm2708-raise-DMA-sync-timeout.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/target/linux/brcm2708/patches-3.10/0017-sdhci-bcm2708-raise-DMA-sync-timeout.patch b/target/linux/brcm2708/patches-3.10/0017-sdhci-bcm2708-raise-DMA-sync-timeout.patch
deleted file mode 100644
index fd0d9923f6..0000000000
--- a/target/linux/brcm2708/patches-3.10/0017-sdhci-bcm2708-raise-DMA-sync-timeout.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 93ad4d743dfa8a5f6bb1d7abf739c7149012099b Mon Sep 17 00:00:00 2001
-From: popcornmix <popcornmix@gmail.com>
-Date: Sat, 16 Jun 2012 22:35:38 +0100
-Subject: [PATCH 017/196] sdhci-bcm2708: raise DMA sync timeout
-
-Commit d64b84c by accident reduced the maximum overall DMA sync
-timeout. The maximum overall timeout was reduced from 100ms to 30ms,
-which isn't enough for many cards. Increase it to 150ms, just to be
-extra safe. According to commit 872a8ff in the MMC subsystem, some
-cards require crazy long timeouts (3s), but as we're busy-waiting,
-and shouldn't delay for such a long time, let's hope 150ms will be
-enough for most cards.
----
- drivers/mmc/host/sdhci-bcm2708.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/drivers/mmc/host/sdhci-bcm2708.c b/drivers/mmc/host/sdhci-bcm2708.c
-index 0ee983c..b0cdd7d 100644
---- a/drivers/mmc/host/sdhci-bcm2708.c
-+++ b/drivers/mmc/host/sdhci-bcm2708.c
-@@ -830,7 +830,7 @@ static void sdhci_bcm2708_dma_complete_irq(struct sdhci_host *host,
- We get CRC and DEND errors unless we wait for
- the SD controller to finish reading/writing to the card. */
- u32 state_mask;
-- int timeout=1000;
-+ int timeout=5000;
-
- DBG("PDMA over - sync card\n");
- if (data->flags & MMC_DATA_READ)
---
-1.9.1
-