Skip to content

Commit 7177144

Browse files
author
Marc Zyngier
committed
irqchip/atmel-aic: 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 d5df9dc commit 7177144

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/irqchip/irq-atmel-aic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ static int aic_retrigger(struct irq_data *d)
8383
irq_reg_writel(gc, d->mask, AT91_AIC_ISCR);
8484
irq_gc_unlock(gc);
8585

86-
return 0;
86+
return 1;
8787
}
8888

8989
static int aic_set_type(struct irq_data *d, unsigned type)

0 commit comments

Comments
 (0)