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>
Tue, 6 Feb 2024 14:42:02 +0000 (14:42 +0000)
commit3ee07964d407411fd578a3bc998de44fd64d266a
treeb095262b93dc30eb566e7bd25021a6c0739b8e02
parent720e78d7fa0f1df905a42ae68e7e3b0f95e53946
serial: core: introduce uart_port_tx_flags()

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