]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
irqchip/irq-vt8500: Don't require 8 interrupts from a chained controller
authorAlexey Charkov <alchark@gmail.com>
Tue, 6 May 2025 12:46:16 +0000 (16:46 +0400)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 6 May 2025 13:58:26 +0000 (15:58 +0200)
commit54a1f3eb89ded8114b0bffc3696757cd95665ef9
tree0c450015bd60b49a314607bc9e3542f6314b9d85
parent45453df7f69b0157a14478f635c99216821faeee
irqchip/irq-vt8500: Don't require 8 interrupts from a chained controller

VT8500 chained controller can route its interrupts to either or all
of its 8 interrupt outputs. Current code actually routes all of them
to the first output, so there is no need to create mappings for all
eight.

Drop redundant checks, and only map as many chained controller
interrupts as are defined in the device tree.

Signed-off-by: Alexey Charkov <alchark@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250506-vt8500-intc-updates-v2-3-a3a0606cf92d@gmail.com
drivers/irqchip/irq-vt8500.c