aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/dsa_loop.c
diff options
context:
space:
mode:
authorCheick Traore <[email protected]>2025-03-20 15:25:40 +0000
committerGreg Kroah-Hartman <[email protected]>2025-03-20 15:30:44 +0000
commit2790ce23951f0c497810c44ad60a126a59c8d84c (patch)
tree8676e82d75eca47425581fe65ca640f8f5d65f28 /drivers/net/dsa/dsa_loop.c
parentserial: 8250: add driver for NI UARTs (diff)
downloadkernel-2790ce23951f0c497810c44ad60a126a59c8d84c.tar.gz
kernel-2790ce23951f0c497810c44ad60a126a59c8d84c.zip
serial: stm32: do not deassert RS485 RTS GPIO prematurely
If stm32_usart_start_tx is called with an empty xmit buffer, RTS GPIO could be deasserted prematurely, as bytes in TX FIFO are still transmitting. So this patch remove rts disable when xmit buffer is empty. Fixes: d7c76716169d ("serial: stm32: Use TC interrupt to deassert GPIO RTS in RS485 mode") Cc: stable <[email protected]> Signed-off-by: Cheick Traore <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions