diff options
author | Cheick Traore <cheick.traore@foss.st.com> | 2025-03-20 18:25:40 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-03-20 18:30:44 +0300 |
commit | 2790ce23951f0c497810c44ad60a126a59c8d84c (patch) | |
tree | 8676e82d75eca47425581fe65ca640f8f5d65f28 /tools/perf/scripts/python | |
parent | 3d5390f4dbe633472b2a4824e66ca5c4eac6fb19 (diff) | |
download | linux-2790ce23951f0c497810c44ad60a126a59c8d84c.tar.xz |
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 <stable@kernel.org>
Signed-off-by: Cheick Traore <cheick.traore@foss.st.com>
Link: https://lore.kernel.org/r/20250320152540.709091-1-cheick.traore@foss.st.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions