summaryrefslogtreecommitdiff
path: root/include/net/aligned_data.h
diff options
context:
space:
mode:
authorj.turek <jakub.turek@elsta.tech>2025-12-30 10:55:56 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-01-08 10:14:59 +0100
commitfdca9bfd6206ccc6067d68c1fa38aa09a1ee1305 (patch)
tree9259f19f818c6d2270eb3d4cfcbf817b94468a62 /include/net/aligned_data.h
parent589ec2d37e38686b085ee34014d895aadb6cfd60 (diff)
serial: xilinx_uartps: fix rs485 delay_rts_after_send
[ Upstream commit 267ee93c417e685d9f8e079e41c70ba6ee4df5a5 ] RTS line control with delay should be triggered when there is no more bytes in kfifo and hardware buffer is empty. Without this patch RTS control is scheduled right after feeding hardware buffer and this is too early. RTS line may change state before hardware buffer is empty. With this patch delayed RTS state change is triggered when function cdns_uart_handle_tx is called from cdns_uart_isr on CDNS_UART_IXR_TXEMPTY exactly when hardware completed transmission Fixes: fccc9d9233f9 ("tty: serial: uartps: Add rs485 support to uartps driver") Cc: stable <stable@kernel.org> Link: https://patch.msgid.link/20251221103221.1971125-1-jakub.turek@elsta.tech Signed-off-by: Jakub Turek <jakub.turek@elsta.tech> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions