aboutsummaryrefslogtreecommitdiff
path: root/lib/irq_poll.c
diff options
context:
space:
mode:
authorMatti Vaittinen <mazziesaccount@gmail.com>2024-08-13 14:34:27 +0300
committerThomas Gleixner <tglx@linutronix.de>2024-08-20 17:12:43 +0200
commit24d02c4e53e2f02da16b2ae8a1bc92553110ca25 (patch)
tree9b79698b6e42318984220cbbf6c52d01acedfc84 /lib/irq_poll.c
parent7b9414cb2d370b7c5149b37f585b077af2ae211b (diff)
irqdomain: Always associate interrupts for legacy domains
The unification of irq_domain_create_legacy() missed the fact that interrupts must be associated even when the Linux interrupt number provided in the first_irq argument is 0. This breaks all call sites of irq_domain_create_legacy() which supply 0 as the first_irq argument. Enforce the association for legacy domains in __irq_domain_instantiate() to cure this. [ tglx: Massaged it slightly. ] Fixes: 70114e7f7585 ("irqdomain: Simplify simple and legacy domain creation") Reported-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by Matti Vaittinen <mazziesaccount@gmail.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Tested-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Link: https://lore.kernel.org/all/c3379142-10bc-4f14-b8ac-a46927aeac38@gmail.com
Diffstat (limited to 'lib/irq_poll.c')
0 files changed, 0 insertions, 0 deletions