diff options
author | Biju Das <biju.das.jz@bp.renesas.com> | 2023-09-18 13:24:09 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2023-09-24 10:18:19 +0100 |
commit | 9b8df572ba3f4e544366196820a719a40774433e (patch) | |
tree | bcd03323822cc08348d6099cd1c7179824d823d1 /Documentation | |
parent | cfa1f9db6d6088118ef311c0927c66072665b47e (diff) | |
download | lwn-9b8df572ba3f4e544366196820a719a40774433e.tar.gz lwn-9b8df572ba3f4e544366196820a719a40774433e.zip |
irqchip: renesas-rzg2l: Fix logic to clear TINT interrupt source
The logic to clear the TINT interrupt source in rzg2l_irqc_irq_disable()
is wrong as the mask is correct only for LSB on the TSSR register.
This issue is found when testing with two TINT interrupt sources. So fix
the logic for all TINTs by using the macro TSSEL_SHIFT() to multiply
tssr_offset with 8.
Fixes: 3fed09559cd8 ("irqchip: Add RZ/G2L IA55 Interrupt Controller driver")
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Tested-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230918122411.237635-2-biju.das.jz@bp.renesas.com
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions