summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
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-04-07 11:09:35 +0300
commita9c4df283d75074563ec9ca011fefd84029e5717 (patch)
tree138c2b6fdf860cfa42e2821347a2fb4b3591e6d8 /scripts/gdb/linux/utils.py
parent5344b7f1119ab48f7f97b13fac59a64a3f65716e (diff)
downloadlinux-a9c4df283d75074563ec9ca011fefd84029e5717.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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions