]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
irqchip/renesas-rzg2l: Split set_type handler into separate IRQ and TINT functions
authorBiju Das <biju.das.jz@bp.renesas.com>
Wed, 25 Mar 2026 19:24:22 +0000 (19:24 +0000)
committerThomas Gleixner <tglx@kernel.org>
Thu, 26 Mar 2026 15:56:21 +0000 (16:56 +0100)
commitd196aeb35efa2f2339b31f107c0ce35387946009
treee51d6a4105890f4339470238ed8ba0d0484da159
parent6e5e0331dea48bbd6955af562aab4972a3950fa2
irqchip/renesas-rzg2l: Split set_type handler into separate IRQ and TINT functions

The common rzg2l_irqc_set_type() handler uses hw_irq range checks to
dispatch to either rzg2l_irq_set_type() or rzg2l_tint_set_edge().

Split this into two dedicated handlers, rzg2l_irqc_irq_set_type() and
rzg2l_irqc_tint_set_type(), each calling only their respective type
configuration function without runtime conditionals.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260325192451.172562-8-biju.das.jz@bp.renesas.com
drivers/irqchip/irq-renesas-rzg2l.c