serial: omap: Fix RTS handling
authorPeter Hurley <peter@hurleysoftware.com>
Sun, 25 Jan 2015 19:44:53 +0000 (14:44 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Feb 2015 18:11:28 +0000 (10:11 -0800)
commit348f9bb31c56909f9098a598b6ecdc94a560816e
tree596e59be8c982acd179d7781b433b8d8285c3aba
parent9719acce37803d179fc94884c8d50b883fc8186e
serial: omap: Fix RTS handling

The OMAP UART ignores MCR[1] (ie., RTS) when in autoRTS mode. This
makes it impossible for either the serial core or userspace to
manually flow control the sender.

Disable autoRTS mode when RTS is lowered and restore the previous
mode when RTS is raised.

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