sc16is7xx: expose RTS inversion in RS-485 mode
authorJakub Kicinski <kubakici@wp.pl>
Tue, 31 Mar 2015 19:11:40 +0000 (21:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Apr 2015 12:43:48 +0000 (14:43 +0200)
commitf0e381158a95a63a283be4cde64795d37e32134b
tree5be606cfaaae79b833e7750721db08e172064784
parent6a8bc239a8c3e6ad34fceabb61ff8ec6222dad4e
sc16is7xx: expose RTS inversion in RS-485 mode

Hardware is capable of inverting RTS signal when working
in RS-485 mode.  Expose this functionality to user space.
Relay on a matching combination of standard flags
(SER_RS485_RTS_ON_SEND and SER_RS485_RTS_AFTER_SEND) to
detect when user space is requesting inverted RTS mode.

Signed-off-by: Jakub Kicinski <kubakici@wp.pl>
Signed-off-by: Jon Ringle <jringle@gridpoint.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sc16is7xx.c