mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 22:52:19 +02:00
pinctrl: renesas: Fixes for v6.10
- Fix PREEMPT_RT build failure on RZ/G2L. -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQQ9qaHoIs/1I4cXmEiKwlD9ZEnxcAUCZl2ASAAKCRCKwlD9ZEnx cEJDAP9EDZj7a3lwIEUPeYEaWhlah23YIrfJi2FV5aoNDQ6mKQEAt59TPGKzDlZz V32heMLa4N1KoT9WErE6+eimkstX+gk= =VjAJ -----END PGP SIGNATURE----- Merge tag 'renesas-pinctrl-fixes-for-v6.10-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers into fixes pinctrl: renesas: Fixes for v6.10 - Fix PREEMPT_RT build failure on RZ/G2L. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
commit
dff5c3de21
|
|
@ -2071,11 +2071,11 @@ static void rzg2l_gpio_irq_restore(struct rzg2l_pinctrl *pctrl)
|
|||
* This has to be atomically executed to protect against a concurrent
|
||||
* interrupt.
|
||||
*/
|
||||
raw_spin_lock_irqsave(&pctrl->lock.rlock, flags);
|
||||
spin_lock_irqsave(&pctrl->lock, flags);
|
||||
ret = rzg2l_gpio_irq_set_type(data, irqd_get_trigger_type(data));
|
||||
if (!ret && !irqd_irq_disabled(data))
|
||||
rzg2l_gpio_irq_enable(data);
|
||||
raw_spin_unlock_irqrestore(&pctrl->lock.rlock, flags);
|
||||
spin_unlock_irqrestore(&pctrl->lock, flags);
|
||||
|
||||
if (ret)
|
||||
dev_crit(pctrl->dev, "Failed to set IRQ type for virq=%u\n", virq);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user