]> 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:25:10 +0000 (09:25 +0100)
commitab288bbaedccc25006992b2973815d5234d8b517
tree0b96ba540fb86643aba1846992ba4f88208496b7
parent760f0f9d85fe1a4caa5e78efd2dcf64e090cbebd
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