Skip to content

Commit 8554cba

Browse files
lopsided98Marc Zyngier
authored andcommitted
irqchip/stm32-exti: add missing DT IRQ flag translation
The STM32F4/7 EXTI driver was missing the xlate callback, so IRQ trigger flags specified in the device tree were being ignored. This was preventing the RTC alarm interrupt from working, because it must be set to trigger on the rising edge to function correctly. Signed-off-by: Ben Wolsieffer <ben.wolsieffer@hefring.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20231003162003.1649967-1-ben.wolsieffer@hefring.com
1 parent e13cd66 commit 8554cba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/irqchip/irq-stm32-exti.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,7 @@ static const struct irq_domain_ops irq_exti_domain_ops = {
460460
.map = irq_map_generic_chip,
461461
.alloc = stm32_exti_alloc,
462462
.free = stm32_exti_free,
463+
.xlate = irq_domain_xlate_twocell,
463464
};
464465

465466
static void stm32_irq_ack(struct irq_data *d)

0 commit comments

Comments
 (0)