serial: imx: fix polarity of RI
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 24 Mar 2016 13:24:20 +0000 (14:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Apr 2016 16:26:55 +0000 (09:26 -0700)
commite881d3f3fafc849356ecd1e3a2f3bf669476ed2d
tree784054e9e646eae5e14b15b222a5cbf3d4b2e091
parent06ed48b7ee0c1b3c1dee6f2c90333109cf7db6ac
serial: imx: fix polarity of RI

When in DTE mode, the bit USR2_RIIN is active low. So invert the logic
accordingly.

Fixes: 90ebc4838666 ("serial: imx: repair and complete handshaking")
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
This page took 0.028428 seconds and 5 git commands to generate.