Skip to content

Commit 4ddfc45

Browse files
author
Marc Zyngier
committed
irqchip/atmel-aic5: Fix irq_retrigger callback return value
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 7177144 commit 4ddfc45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/irqchip/irq-atmel-aic5.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ static int aic5_retrigger(struct irq_data *d)
128128
irq_reg_writel(bgc, 1, AT91_AIC5_ISCR);
129129
irq_gc_unlock(bgc);
130130

131-
return 0;
131+
return 1;
132132
}
133133

134134
static int aic5_set_type(struct irq_data *d, unsigned type)

0 commit comments

Comments
 (0)