]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
genirq/chip: Add buslock back in to irq_set_handler()
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Thu, 23 Oct 2025 15:48:59 +0000 (16:48 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 24 Oct 2025 09:38:39 +0000 (11:38 +0200)
The locking was changed from a buslock to a plain lock, but the patch
description states there was no functional change. Assuming this was
accidental so reverting to using the buslock.

Fixes: 5cd05f3e2315 ("genirq/chip: Rework irq_set_handler() variants")
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://patch.msgid.link/20251023154901.1333755-2-ckeepax@opensource.cirrus.com
kernel/irq/chip.c

index 3ffa0d80ddd19c6fcab5a444ddec626fa660ab1c..d1917b28761a3358af3c8b906e650f4ac7761950 100644 (file)
@@ -1030,7 +1030,7 @@ __irq_do_set_handler(struct irq_desc *desc, irq_flow_handler_t handle,
 void __irq_set_handler(unsigned int irq, irq_flow_handler_t handle, int is_chained,
                       const char *name)
 {
-       scoped_irqdesc_get_and_lock(irq, 0)
+       scoped_irqdesc_get_and_buslock(irq, 0)
                __irq_do_set_handler(scoped_irqdesc, handle, is_chained, name);
 }
 EXPORT_SYMBOL_GPL(__irq_set_handler);