diff options
| author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2025-10-23 16:49:01 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-11-02 22:18:03 +0900 |
| commit | f1971d5ba2efe944c6e0ae8709f733968c5c70ed (patch) | |
| tree | 18d42e88ef6d092951f6c4642f6d0c3fb1208f77 | |
| parent | b990b4c6ea6bd4a0c065b8df209ab9ad2e908130 (diff) | |
| download | linux-f1971d5ba2efe944c6e0ae8709f733968c5c70ed.tar.gz linux-f1971d5ba2efe944c6e0ae8709f733968c5c70ed.tar.bz2 linux-f1971d5ba2efe944c6e0ae8709f733968c5c70ed.zip | |
genirq/manage: Add buslock back in to enable_irq()
[ Upstream commit ef3330b99c01bda53f2a189b58bed8f6b7397f28 ]
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: bddd10c55407 ("genirq/manage: Rework enable_irq()")
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://patch.msgid.link/20251023154901.1333755-4-ckeepax@opensource.cirrus.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
| -rw-r--r-- | kernel/irq/manage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index 7d68fb5dc242..400856abf672 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c @@ -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)) |
