irqchip/stm32-exti: Fix irq_mask/irq_unmask for direct events
authorLoic Pallardy <loic.pallardy@foss.st.com>
Mon, 6 Jun 2022 16:27:53 +0000 (18:27 +0200)
committerMarc Zyngier <maz@kernel.org>
Thu, 7 Jul 2022 08:07:44 +0000 (09:07 +0100)
commitf8b3eb4245113c8a9156d5db8e80c6134127bcc1
tree832e2ccb69393b175fb843ec7c347313aa7c454e
parent3e17683ff4a870ed99e989425bc976a944978711
irqchip/stm32-exti: Fix irq_mask/irq_unmask for direct events

The driver has to mask/unmask the corresponding flag in the
Interrupt Mask Register (IMR).
This is already done for configurable event, while direct events
only forward the mask/unmask request to the parent.

Use the existing stm32_exti_h_mask()/stm32_exti_h_unmask() for
direct events too.

Signed-off-by: Loic Pallardy <loic.pallardy@foss.st.com>
Signed-off-by: Antonio Borneo <antonio.borneo@foss.st.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220606162757.415354-3-antonio.borneo@foss.st.com
drivers/irqchip/irq-stm32-exti.c