OSDN Git Service

staging: vt6655: use workqueue for interrupt handling
authorMalcolm Priestley <tvboxspy@gmail.com>
Sun, 31 May 2015 09:35:24 +0000 (10:35 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 31 May 2015 21:24:57 +0000 (06:24 +0900)
commitff1ce1a81e6eec82c224e33d3d23ab3f0002547e
tree2ae61142d5d2f442c17fc7923aadff5756560f7c
parentda74dbac164863685016c3a4ee06cb9db89a6f28
staging: vt6655: use workqueue for interrupt handling

Introduce vnt_interrupt to handle interrupt and use workqueue
to queue and queue on vif.

Convert device_intr to void call vnt_interrupt_process
from vnt_interrupt_work providing vif is valid.

This removes troublesome heavy code from the interupt handler and
allows to remove atomic from other areas of driver.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/device.h
drivers/staging/vt6655/device_main.c