serial: imx: repair and complete handshaking
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Sun, 18 Oct 2015 19:34:46 +0000 (21:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Dec 2015 03:59:48 +0000 (19:59 -0800)
commit90ebc4838666d148eac5bbac6f4044e5b25cd2d6
tree9e4c1e9f67750b433be9c376901fd459a945f140
parent18dfef9c7f87b75bbb0fb66a634f7c13a45b9f8d
serial: imx: repair and complete handshaking

The .get_mctrl callback should not report the status of RTS or LOOP, so
drop this. Instead implement reporting the state of CAR (aka DCD) and
RI.

For .set_mctrl implement setting the DTR line.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/imx.c