diff options
author | Sherry Sun <sherry.sun@nxp.com> | 2025-03-12 05:25:03 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-04-07 11:08:36 +0300 |
commit | 53a005d3019fdf45c8f88d845c29cac563e851f6 (patch) | |
tree | 7b23e1fdca3d1a43c637d71f61c5d91603ed5dac /tools/perf/scripts/python/parallel-perf.py | |
parent | 27bd86d139cea58eb7428a8e5fa556650694709d (diff) | |
download | linux-53a005d3019fdf45c8f88d845c29cac563e851f6.tar.xz |
tty: serial: fsl_lpuart: disable transmitter before changing RS485 related registers
commit f5cb528d6441eb860250a2f085773aac4f44085e upstream.
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 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions