]> git.baikalelectronics.ru Git - kernel.git/commit
serial: fsl_lpuart: fix RS485 RTS polariy inverse issue
authorShenwei Wang <shenwei.wang@nxp.com>
Tue, 7 Feb 2023 16:24:20 +0000 (10:24 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:33:37 +0000 (09:33 +0100)
commite470f707480f40ca40c95f58b8304b22ce948ea9
tree8e9b603027eb0c821f5032b90ea1508a2f5a2cb5
parent635816b6d800d1d42669143fcecfcd6d011e91c6
serial: fsl_lpuart: fix RS485 RTS polariy inverse issue

[ Upstream commit dc1a76fb096ed18c266dcf1454b757abb9acbf13 ]

The previous 'commit 5ebcfb5b5339 ("serial: fsl_lpuart: RS485 RTS
polariy is inverse")' only fixed the inverse issue on lpuart 8bit
platforms.

This is a follow-up patch to fix the RS485 polarity inverse
issue on lpuart 32bit platforms.

Fixes: 9f921f7a2631 ("tty: serial: fsl_lpuart: Add support for RS-485")
Reported-by: Sherry Sun <sherry.sun@nxp.com>
Signed-off-by: Shenwei Wang <shenwei.wang@nxp.com>
Link: https://lore.kernel.org/r/20230207162420.3647904-1-shenwei.wang@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/tty/serial/fsl_lpuart.c