Skip to content

Commit 8880c13

Browse files
committed
gpio: brcmstb: Make really use of the new lockdep class
The recent extension of irq_set_lockdep_class() with a second argument added the new lockdep class to the mrcmstb driver, but used the already existing lockdep class as second argument, which leaves the new lockdep class defined but unused. Use the new lockdep class as that's what the change intended to do. Fixes: 39c3fd5 ("kernel/irq: Extend lockdep class for request mutex") Reported-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Andrew Lunn <andrew@lunn.ch> Cc: linus.walleij@linaro.org
1 parent 11bca0a commit 8880c13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpio/gpio-brcmstb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ static int brcmstb_gpio_irq_map(struct irq_domain *d, unsigned int irq,
348348
if (ret < 0)
349349
return ret;
350350
irq_set_lockdep_class(irq, &brcmstb_gpio_irq_lock_class,
351-
&brcmstb_gpio_irq_lock_class);
351+
&brcmstb_gpio_irq_request_class);
352352
irq_set_chip_and_handler(irq, &priv->irq_chip, handle_level_irq);
353353
irq_set_noprobe(irq);
354354
return 0;

0 commit comments

Comments
 (0)