]> git.ipfire.org Git - thirdparty/linux.git/commit
irqchip/meson-gpio: Use the correct register in meson_s4_gpio_irq_set_type()
authorXianwei Zhao <xianwei.zhao@amlogic.com>
Fri, 8 May 2026 07:36:54 +0000 (07:36 +0000)
committerThomas Gleixner <tglx@kernel.org>
Mon, 11 May 2026 13:22:48 +0000 (15:22 +0200)
commit5363b67ac8ebcc3e227dbf59fc8061949109841d
tree1d3590af65d55c20dc6f248eb6bcb32baf3bf929
parent0fa10fb77069fb67aa51384868ef3702b7791465
irqchip/meson-gpio: Use the correct register in meson_s4_gpio_irq_set_type()

meson_s4_gpio_irq_set_type() uses the both-edge trigger register for
configuring level type and single edge mode interrupts, which is not
correct.

Use REG_EDGE_POL instead.

Fixes: bbd6fcc76b39 ("irqchip: Add support for Amlogic A4 and A5 SoCs")
Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Cc: stable@vger.kernel.org
Link: https://patch.msgid.link/20260508-a9-gpio-irqchip-v1-1-9dc5f3e022e0@amlogic.com
drivers/irqchip/irq-meson-gpio.c