sc16is7xx: use kthread_worker for tx_work and irq
authorJakub Kicinski <kubakici@wp.pl>
Fri, 29 May 2015 19:20:29 +0000 (21:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 31 May 2015 21:47:27 +0000 (06:47 +0900)
commit9e6f4ca3e567d5d9e4133d2da8bae8f476f85873
tree9da5fb10d4bc5322671fd56c3ace0d056a54f8bc
parent4ae82e5d23961515796d76850499db3866c5e73b
sc16is7xx: use kthread_worker for tx_work and irq

Convert workqueue usage to a real-time kworker.  The problem
with workqueues is that we cannot set real-time priorities on
our work and asynchronous reconfiguration can be blocked by
less important tasks.

We need kthread for the interrupt anyway and because we will
now be using single kthread for all TX-related operations we
can get rid of the port mutex.

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