]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
serial: core: introduce uart_port_tx_flags()
authorJiri Slaby (SUSE) <jirislaby@kernel.org>
Thu, 1 Feb 2024 10:55:56 +0000 (11:55 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Feb 2024 08:51:49 +0000 (09:51 +0100)
commit7e637090e48fe7d1b22cd8a273659be293981a47
treed1b68ff2afde8ee8e8f76d9bedb1d7f6c0dc98d0
parent8fd2674d43c96d051391ec32505382c9a5e18643
serial: core: introduce uart_port_tx_flags()

commit 3ee07964d407411fd578a3bc998de44fd64d266a upstream.

And an enum with a flag: UART_TX_NOSTOP. To NOT call
__port->ops->stop_tx() when the circular buffer is empty. mxs-uart needs
this (see the next patch).

Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
Cc: stable <stable@kernel.org>
Tested-by: Emil Kronborg <emil.kronborg@protonmail.com>
Link: https://lore.kernel.org/r/20240201105557.28043-1-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/serial_core.h