summaryrefslogtreecommitdiff
path: root/net/lapb
diff options
context:
space:
mode:
authorSherry Sun <sherry.sun@nxp.com>2025-03-12 05:25:03 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-03-20 18:06:55 +0300
commitf5cb528d6441eb860250a2f085773aac4f44085e (patch)
tree6a5658e37bb2fabdfd877ac8d0b87c1c38294503 /net/lapb
parent5c7e2896481a177bbda41d7850f05a9f5a8aee2b (diff)
downloadlinux-f5cb528d6441eb860250a2f085773aac4f44085e.tar.xz
tty: serial: fsl_lpuart: disable transmitter before changing RS485 related registers
According to the LPUART reference manual, TXRTSE and TXRTSPOL of MODIR register only can be changed when the transmitter is disabled. So disable the transmitter before changing RS485 related registers and re-enable it after the change is done. Fixes: 67b01837861c ("tty: serial: lpuart: Add RS485 support for 32-bit uart flavour") Cc: stable <stable@kernel.org> Signed-off-by: Sherry Sun <sherry.sun@nxp.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Link: https://lore.kernel.org/r/20250312022503.1342990-1-sherry.sun@nxp.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb')
0 files changed, 0 insertions, 0 deletions