2013-07-22 18:41:23 +00:00
|
|
|
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(-)
|
|
|
|
|
|
|
|
--- a/drivers/mmc/host/jz4740_mmc.c
|
|
|
|
+++ b/drivers/mmc/host/jz4740_mmc.c
|
2013-07-26 07:19:58 +00:00
|
|
|
@@ -560,11 +560,6 @@ static irqreturn_t jz_mmc_irq(int irq, v
|
2013-07-22 18:41:23 +00:00
|
|
|
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);
|