sc16is7xx: move RTS delay to workqueue
authorJakub Kicinski <kubakici@wp.pl>
Fri, 29 May 2015 19:20:30 +0000 (21:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 31 May 2015 21:47:27 +0000 (06:47 +0900)
commitdbe5a40cba2de69678401362b7cc9bbbe7bc30be
tree08ec169b9234057ec725edef3dc53ceeaa57f72d
parent9e6f4ca3e567d5d9e4133d2da8bae8f476f85873
sc16is7xx: move RTS delay to workqueue

Instead of spinning under port->lock let's just sleep
inside the kthread.  It should be equivalent as TX cannot
proceed when thread is blocked.

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