serial: 8250_omap: Use UPSTAT_AUTORTS for RTS handling
authorPeter Hurley <peter@hurleysoftware.com>
Sun, 25 Jan 2015 19:44:52 +0000 (14:44 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Feb 2015 18:11:28 +0000 (10:11 -0800)
commit9719acce37803d179fc94884c8d50b883fc8186e
tree6733045f07039bd64f197917505aaef6b1b827f6
parent391f93f2ec9f857c83bdd21a14dcf7e699f38579
serial: 8250_omap: Use UPSTAT_AUTORTS for RTS handling

Commit 88838d3112702 ("serial: omap_8250: Fix RTS handling") fixed
RTS pin control when in autoRTS mode.

New support added in "serial: core: Rework hw-assisted flow control support"
enables a much simpler approach; rather than masking out autoRTS
whenever writing the EFR register, use the UPSTAT_* mode to determine if
autoRTS should be enabled when raising RTS (in omap8250_set_mctrl()).

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_omap.c