]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/realtek-rtl: Map control data to virq
authorSander Vanheule <sander@svanheule.net>
Sun, 9 Jan 2022 14:54:32 +0000 (15:54 +0100)
committerMarc Zyngier <maz@kernel.org>
Mon, 17 Jan 2022 12:13:58 +0000 (12:13 +0000)
commit105bbd915d2756baf965e1b4e8ed1cd1b1d961c2
treec36cc0be75ce6b0410ecea8b8086e33ea10ce563
parenta8c1b671ec3dd807ea835a1bc1a2088a9ade3635
irqchip/realtek-rtl: Map control data to virq

The driver assigned the irqchip and irq handler to the hardware irq,
instead of the virq. This is incorrect, and only worked because these
irq numbers happened to be the same on the devices used for testing the
original driver.

Fixes: e410156bff8a ("irqchip: Add support for Realtek RTL838x/RTL839x interrupt controller")
Signed-off-by: Sander Vanheule <sander@svanheule.net>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/4b4936606480265db47df152f00bc2ed46340599.1641739718.git.sander@svanheule.net
drivers/irqchip/irq-realtek-rtl.c