sh: mach-highlander: Handle virq offset in cascaded IRL demux
authorGeert Uytterhoeven <geert+renesas@glider.be>
Sun, 9 Jul 2023 13:10:23 +0000 (15:10 +0200)
committerJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Thu, 13 Jul 2023 06:37:38 +0000 (08:37 +0200)
commita2601b8d8f077368c6d113b4d496559415c6d495
tree42a9166e854aed4b0dc18ba424e3b10e3be64afa
parentab8aa4f0956d2e0fb8344deadb823ef743581795
sh: mach-highlander: Handle virq offset in cascaded IRL demux

Take into account the virq offset when translating cascaded IRL
interrupts.

Fixes: a8ac2961148e8c72 ("sh: Avoid using IRQ0 on SH3 and SH4")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Link: https://lore.kernel.org/r/4fcb0d08a2b372431c41e04312742dc9e41e1be4.1688908186.git.geert+renesas@glider.be
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
arch/sh/boards/mach-highlander/setup.c