Commit ef3330b9 authored by Charles Keepax's avatar Charles Keepax Committed by Thomas Gleixner
Browse files

genirq/manage: Add buslock back in to enable_irq()



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: bddd10c5 ("genirq/manage: Rework enable_irq()")
Signed-off-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Link: https://patch.msgid.link/20251023154901.1333755-4-ckeepax@opensource.cirrus.com
parent 56363e25
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -789,7 +789,7 @@ void __enable_irq(struct irq_desc *desc)
 */
void enable_irq(unsigned int irq)
{
	scoped_irqdesc_get_and_lock(irq, IRQ_GET_DESC_CHECK_GLOBAL) {
	scoped_irqdesc_get_and_buslock(irq, IRQ_GET_DESC_CHECK_GLOBAL) {
		struct irq_desc *desc = scoped_irqdesc;

		if (WARN(!desc->irq_data.chip, "enable_irq before setup/request_irq: irq %u\n", irq))