summaryrefslogtreecommitdiff
path: root/mm/swap_cgroup.c
diff options
context:
space:
mode:
authorCheick Traore <cheick.traore@foss.st.com>2025-03-20 16:25:40 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-04-07 10:11:12 +0200
commitcf1eda0b9f1af2e93c07d7c52b79101d9d21526c (patch)
tree31f8f758ac67ad0b16391b2bca2c5fb7e439205d /mm/swap_cgroup.c
parent6d2b30fc1197a27e4d344a8009febb79f6313ed9 (diff)
downloadlinux-cf1eda0b9f1af2e93c07d7c52b79101d9d21526c.tar.gz
linux-cf1eda0b9f1af2e93c07d7c52b79101d9d21526c.tar.bz2
linux-cf1eda0b9f1af2e93c07d7c52b79101d9d21526c.zip
serial: stm32: do not deassert RS485 RTS GPIO prematurely
commit 2790ce23951f0c497810c44ad60a126a59c8d84c upstream. 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 'mm/swap_cgroup.c')
0 files changed, 0 insertions, 0 deletions