Gabriel Somlo 1307c5d33c serial: altera_uart: fix locking in polling mode
Since altera_uart_interrupt() may also be called from
a poll timer in "serving_softirq" context, use
spin_[lock_irqsave|unlock_irqrestore] variants, which
are appropriate for both softirq and hardware interrupt
contexts.

Fixes: 2f8b9c15cd88 ("altera_uart: Add support for polling mode (IRQ-less)")
Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
Link: https://lore.kernel.org/r/20221122200426.888349-1-gsomlo@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-11-23 09:38:42 +01:00
..
2022-11-03 03:52:36 +01:00
2021-07-27 12:17:21 +02:00
2022-01-31 14:30:06 +01:00
2022-09-05 07:59:28 +02:00
2022-11-03 01:58:03 +01:00
2021-10-21 12:35:35 +02:00
2022-11-22 17:38:38 +01:00
2022-09-22 16:12:34 +02:00
2021-07-27 12:17:21 +02:00
2022-09-22 16:12:34 +02:00
2021-07-27 12:17:21 +02:00