diff options
author | Gabriel Somlo <[email protected]> | 2022-11-22 15:04:26 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-11-23 09:38:42 +0100 |
commit | 1307c5d33cce8a41dd77c2571e4df65a5b627feb (patch) | |
tree | 1a848ee569084ad361dcbaa859ed9d45788d3117 /drivers/gpu/drm/amd/amdgpu/amdgpu_preempt_mgr.c | |
parent | 8be3a7bf773700534a6e8f87f6ed2ed111254be5 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_preempt_mgr.c')
0 files changed, 0 insertions, 0 deletions