Skip to content

Commit

Permalink
irqchip/stm32-exti: add missing DT IRQ flag translation
Browse files Browse the repository at this point in the history
[ Upstream commit 8554cba1d6dbd3c74e0549e28ddbaccbb1d6b30a ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
lopsided98 authored and mylove90 committed Feb 15, 2024
1 parent e0eb04c commit a0673c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/irqchip/irq-stm32-exti.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ struct irq_domain_ops irq_exti_domain_ops = {
.xlate = irq_domain_xlate_onetwocell,
.alloc = stm32_exti_alloc,
.free = stm32_exti_free,
.xlate = irq_domain_xlate_twocell,
};

static int __init stm32_exti_init(struct device_node *node,
Expand Down

0 comments on commit a0673c4

Please sign in to comment.