projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9668d76
)
mmc: jz4740: Remove duplicated code.
author
Paul Cercueil
<paul@crapouillou.net>
Sun, 9 Jun 2013 19:10:01 +0000
(21:10 +0200)
committer
Chris Ball
<cjb@laptop.org>
Thu, 27 Jun 2013 16:39:11 +0000
(12:39 -0400)
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/jz4740_mmc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/jz4740_mmc.c
b/drivers/mmc/host/jz4740_mmc.c
index
c4f3872
..
b31359d
100644
(file)
--- 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);