xburst: Add 3.10 support
[openwrt/svn-archive/archive.git] / target / linux / xburst / patches-3.10 / 004-MMC-JZ4740-Remove-duplicated-code.patch
1 From 3e46e1ea552c3cc5fb64dfeab22124a0e8b94495 Mon Sep 17 00:00:00 2001
2 From: Paul Cercueil <paul@crapouillou.net>
3 Date: Sun, 3 Jun 2012 12:45:23 +0200
4 Subject: [PATCH 04/16] MMC: JZ4740: Remove duplicated code.
5
6 Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
7 ---
8 drivers/mmc/host/jz4740_mmc.c | 5 -----
9 1 file changed, 5 deletions(-)
10
11 diff --git a/drivers/mmc/host/jz4740_mmc.c b/drivers/mmc/host/jz4740_mmc.c
12 index 2391c6b..5a6ac99 100644
13 --- a/drivers/mmc/host/jz4740_mmc.c
14 +++ b/drivers/mmc/host/jz4740_mmc.c
15 @@ -560,11 +560,6 @@ static irqreturn_t jz_mmc_irq(int irq, void *devid)
16 if (cmd->data)
17 cmd->data->error = -EIO;
18 cmd->error = -EIO;
19 - } else if (status & (JZ_MMC_STATUS_CRC_READ_ERROR |
20 - JZ_MMC_STATUS_CRC_WRITE_ERROR)) {
21 - if (cmd->data)
22 - cmd->data->error = -EIO;
23 - cmd->error = -EIO;
24 }
25
26 jz4740_mmc_set_irq_enabled(host, irq_reg, false);
27 --
28 1.7.10.4
29