projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7177144
)
irqchip/atmel-aic5: Fix irq_retrigger callback return value
author
Marc Zyngier
<maz@kernel.org>
Tue, 10 Mar 2020 18:49:19 +0000
(18:49 +0000)
committer
Marc Zyngier
<maz@kernel.org>
Mon, 16 Mar 2020 15:48:54 +0000
(15:48 +0000)
The irq_retrigger callback is supposed to return 0 when retrigger
has failed, and a non-zero value otherwise. Tell the core code
that the driver has succedded in using the HW to retrigger the
interrupt.
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link:
https://lore.kernel.org/r/20200310184921.23552-3-maz@kernel.org
drivers/irqchip/irq-atmel-aic5.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/irqchip/irq-atmel-aic5.c
b/drivers/irqchip/irq-atmel-aic5.c
index 29333497ba10d2707e430e333e0c7d85e132d3ad..fc1b3a9cdafc4de01914faaa7e8d30bd6aabc5ef 100644
(file)
--- a/
drivers/irqchip/irq-atmel-aic5.c
+++ b/
drivers/irqchip/irq-atmel-aic5.c
@@
-128,7
+128,7
@@
static int aic5_retrigger(struct irq_data *d)
irq_reg_writel(bgc, 1, AT91_AIC5_ISCR);
irq_gc_unlock(bgc);
- return
0
;
+ return
1
;
}
static int aic5_set_type(struct irq_data *d, unsigned type)