summaryrefslogtreecommitdiff
path: root/target/linux/xburst/patches-3.10/004-MMC-JZ4740-Remove-duplicated-code.patch
diff options
context:
space:
mode:
authorlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-07-22 18:41:23 +0000
committerlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-07-22 18:41:23 +0000
commit2527d03c323b574cedb5fd7153fa4cda91cd0b6f (patch)
treeacc32259c37551055abfb1b0468e4b24831a4220 /target/linux/xburst/patches-3.10/004-MMC-JZ4740-Remove-duplicated-code.patch
parentf4a0bba37172a1fab5988536e8ad46f43b864591 (diff)
xburst: Add 3.10 support
Missing files from the previous commit. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37510 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/xburst/patches-3.10/004-MMC-JZ4740-Remove-duplicated-code.patch')
-rw-r--r--target/linux/xburst/patches-3.10/004-MMC-JZ4740-Remove-duplicated-code.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/target/linux/xburst/patches-3.10/004-MMC-JZ4740-Remove-duplicated-code.patch b/target/linux/xburst/patches-3.10/004-MMC-JZ4740-Remove-duplicated-code.patch
new file mode 100644
index 0000000000..7a8ab65552
--- /dev/null
+++ b/target/linux/xburst/patches-3.10/004-MMC-JZ4740-Remove-duplicated-code.patch
@@ -0,0 +1,29 @@
+From 3e46e1ea552c3cc5fb64dfeab22124a0e8b94495 Mon Sep 17 00:00:00 2001
+From: Paul Cercueil <paul@crapouillou.net>
+Date: Sun, 3 Jun 2012 12:45:23 +0200
+Subject: [PATCH 04/16] MMC: JZ4740: Remove duplicated code.
+
+Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
+---
+ drivers/mmc/host/jz4740_mmc.c | 5 -----
+ 1 file changed, 5 deletions(-)
+
+diff --git a/drivers/mmc/host/jz4740_mmc.c b/drivers/mmc/host/jz4740_mmc.c
+index 2391c6b..5a6ac99 100644
+--- a/drivers/mmc/host/jz4740_mmc.c
++++ b/drivers/mmc/host/jz4740_mmc.c
+@@ -560,11 +560,6 @@ static irqreturn_t jz_mmc_irq(int irq, void *devid)
+ if (cmd->data)
+ cmd->data->error = -EIO;
+ cmd->error = -EIO;
+- } else if (status & (JZ_MMC_STATUS_CRC_READ_ERROR |
+- JZ_MMC_STATUS_CRC_WRITE_ERROR)) {
+- if (cmd->data)
+- cmd->data->error = -EIO;
+- cmd->error = -EIO;
+ }
+
+ jz4740_mmc_set_irq_enabled(host, irq_reg, false);
+--
+1.7.10.4
+