summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorBen Wolsieffer <ben.wolsieffer@hefring.com>2023-10-03 12:20:03 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-11-08 17:30:48 +0100
commite619b38a873fc92239d5f65c417d362c099c0e19 (patch)
treea8a1315e89fa61d13541b8d972c332f06d8d6073 /drivers
parentd151fb8019573a47d564a8b17e62b6fe14c87af9 (diff)
downloadlinux-e619b38a873fc92239d5f65c417d362c099c0e19.tar.gz
linux-e619b38a873fc92239d5f65c417d362c099c0e19.tar.bz2
linux-e619b38a873fc92239d5f65c417d362c099c0e19.zip
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/irqchip/irq-stm32-exti.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/irqchip/irq-stm32-exti.c b/drivers/irqchip/irq-stm32-exti.c
index 8662d7b7b262..cec9080cccad 100644
--- a/drivers/irqchip/irq-stm32-exti.c
+++ b/drivers/irqchip/irq-stm32-exti.c
@@ -403,6 +403,7 @@ static const struct irq_domain_ops irq_exti_domain_ops = {
.map = irq_map_generic_chip,
.alloc = stm32_exti_alloc,
.free = stm32_exti_free,
+ .xlate = irq_domain_xlate_twocell,
};
static void stm32_irq_ack(struct irq_data *d)