]> git.baikalelectronics.ru Git - kernel.git/commit
sc16is7xx: remove RS-485 delay RTS handling
authorJakub Kicinski <kubakici@wp.pl>
Fri, 29 May 2015 19:20:26 +0000 (21:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 31 May 2015 21:45:28 +0000 (06:45 +0900)
commit72f5ff55c65a5bf16e729a6d91c3895a6b95b5eb
treedf9cb1b631504b63c3cfaab376830993b783c0c6
parenta4d40404dd9c812e87cfbcad346a98cb11a20224
sc16is7xx: remove RS-485 delay RTS handling

Users of RS-485 can request via ioctl that RTS signals should
be activated selected number of milliseconds before the actual
data transmission or delay reception certain number of milli-
seconds after the transmission is finished.  In sc16is7xx,
however, RTS signalling is handled by the hardware and driver
has no way of providing this feature.

We still try to provide .delay_rts_before_send by delaying
transmission but without actual effect on the RTS line.

Note: this change will make the driver return -EINVAL when the
      feature is requested (.delay_rts_after_send is set).

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