]> git.baikalelectronics.ru Git - kernel.git/commit
mxs: uart: fix setting RTS from software
authorSteffen Trumtrar <s.trumtrar@pengutronix.de>
Thu, 13 Dec 2012 13:27:43 +0000 (14:27 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jan 2013 03:06:41 +0000 (19:06 -0800)
commita34022f75d650be16c04019fc65e7e1dfc92f1aa
tree77e17698e0107c6105a8b18ff3cdffe01afddcac
parent0535dafcce1bd9f556e205dba871e11794ee3a77
mxs: uart: fix setting RTS from software

With the patch "serial: mxs-auart: fix the wrong RTS hardware flow control" the
mainline mxs-uart driver now sets RTSEN only when hardware flow control is
enabled via software. It is not possible any longer to set RTS manually via
software. However, the manual modification is a valid operation.
Regain the possibility to set RTS via software and only set RTSEN when hardware
flow control is explicitly enabled via settermios cflag CRTSCTS.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Cc: stable <stable@vger.kernel.org>
Reviewed-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/mxs-auart.c