Add support for USBTMC USB488 SRQ notification with fasync
authorDave Penkler <dpenkler@gmail.com>
Wed, 27 Jan 2016 18:15:15 +0000 (19:15 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 21:54:06 +0000 (13:54 -0800)
commit82ed33811d7214198e071b785ee34dbe99f82140
treea6f9785025685aaa7328c5d9a64bb8181725472f
parentdbf3e7f654c0f06a932b8fcafac78de9d0b81d68
Add support for USBTMC USB488 SRQ notification with fasync

Background:
By configuring an instrument's event status register various
conditions can be reported via an SRQ notification. This complements
the synchronous polling approach using the READ_STATUS_BYTE ioctl
with an asynchronous notification.

Signed-off-by: Dave Penkler <dpenkler@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/class/usbtmc.c