]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit354f7cdae152ea8ad7c263e4b3b5946061889159
tree08ec169b9234057ec725edef3dc53ceeaa57f72d
parent41bcdbff98bcf6380c0963855cd9632a44453fd0
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