projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fc3d80
)
mmc: vub300: Remove bogus check of irqs_queued
author
Shawn Lin
<shawn.lin@rock-chips.com>
Wed, 11 Jan 2017 04:14:49 +0000
(12:14 +0800)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Mon, 13 Feb 2017 12:20:13 +0000
(13:20 +0100)
It's unnecessary to check the irqs_queued value as
it always needs to queue one if irq isn't enabled.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/vub300.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/vub300.c
b/drivers/mmc/host/vub300.c
index
bb3e0d1
..
21ea776
100644
(file)
--- a/
drivers/mmc/host/vub300.c
+++ b/
drivers/mmc/host/vub300.c
@@
-640,8
+640,6
@@
static void __vub300_irqpoll_response(struct vub300_mmc_host *vub300)
mutex_lock(&vub300->irq_mutex);
if (vub300->irq_enabled)
mmc_signal_sdio_irq(vub300->mmc);
- else if (vub300->irqs_queued)
- vub300->irqs_queued += 1;
else
vub300->irqs_queued += 1;
vub300->irq_disabled = 0;