]> 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)
commitd439cad676427b805c7332993b8d44df6a8598a4
tree77e17698e0107c6105a8b18ff3cdffe01afddcac
parent8a951b0447260880e42a062699d73808167b7fdf
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