mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
serial: core: lock port for stop_rx() in uart_suspend_port()
[ Upstream commitabcb0cf1f5] The uarts_ops stop_rx() callback expects that the port->lock is taken and interrupts are disabled. Fixes:c9d2325cdb("serial: core: Do stop_rx in suspend path for console if console_suspend is disabled") Signed-off-by: John Ogness <john.ogness@linutronix.de> Reviewed-by: Douglas Anderson <dianders@chromium.org> Link: https://lore.kernel.org/r/20230525093159.223817-3-john.ogness@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
a44696977d
commit
ece78f66a9
1 changed files with 4 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue