]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
irqchip/stm32-exti: add missing DT IRQ flag translation
authorBen Wolsieffer <ben.wolsieffer@hefring.com>
Tue, 3 Oct 2023 16:20:03 +0000 (12:20 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Nov 2023 13:10:57 +0000 (14:10 +0100)
commit9ef4697548c21ac499f4da5bf9dcc6fcdfb48f9a
treec4bfc477a502977beea14c18a55ece435e7b0288
parent7378415da0484fa62b0c7f7a2d90d90d7269512a
irqchip/stm32-exti: add missing DT IRQ flag translation

[ 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>
drivers/irqchip/irq-stm32-exti.c