All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lars-Peter Clausen <lars@metafoo.de>
To: Chris Ball <cjb@laptop.org>
Cc: Paul Cercueil <paul@crapouillou.net>,
	Maarten ter Huurne <maarten@treewalker.org>,
	linux-mmc@vger.kernel.org, Lars-Peter Clausen <lars@metafoo.de>
Subject: [PATCH 2/6] mmc: JZ4740: Remove duplicated code.
Date: Sun,  9 Jun 2013 21:10:01 +0200	[thread overview]
Message-ID: <1370805005-8104-2-git-send-email-lars@metafoo.de> (raw)
In-Reply-To: <1370805005-8104-1-git-send-email-lars@metafoo.de>

From: Paul Cercueil <paul@crapouillou.net>

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
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 c4f3872..b31359d 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.8.2.1


  reply	other threads:[~2013-06-09 19:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-09 19:10 [PATCH 1/6] mmc: jz4740: Use clk_prepare_enable/clk_disable_unprepare Lars-Peter Clausen
2013-06-09 19:10 ` Lars-Peter Clausen [this message]
2013-06-09 19:10 ` [PATCH 3/6] mmc: jz4740: Fix handling of read errors Lars-Peter Clausen
2013-06-09 19:10 ` [PATCH 4/6] mmc: jz4740: Use SIMPLE_DEV_PM_OPS Lars-Peter Clausen
2013-06-09 19:10 ` [PATCH 5/6] mmc: jz4740: Use slot-gpio helpers Lars-Peter Clausen
2013-06-09 19:10 ` [PATCH 6/6] mmc: jz4740: Use managed resources Lars-Peter Clausen
2013-06-27 15:40 ` [PATCH 1/6] mmc: jz4740: Use clk_prepare_enable/clk_disable_unprepare Chris Ball

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1370805005-8104-2-git-send-email-lars@metafoo.de \
    --to=lars@metafoo.de \
    --cc=cjb@laptop.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=maarten@treewalker.org \
    --cc=paul@crapouillou.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.