staging: comedi: addi_apci_2032: support stop_src == TRIG_COUNT
authorIan Abbott <abbotti@mev.co.uk>
Mon, 3 Dec 2012 18:15:47 +0000 (18:15 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jan 2013 22:10:02 +0000 (14:10 -0800)
commit215caceb3dac9eb7d431c9da21394c6ccb778b15
tree311cc9f070f5db38bd30b0c6ae2711639cf0522d
parent5f6c2a954d17544c68ce83d016ea456207cadeac
staging: comedi: addi_apci_2032: support stop_src == TRIG_COUNT

When setting up asynchronous commands on the special interrupt
subdevice, support the `TRIG_COUNT` stop source to allow the command to
stop automatically after a specified number of scans.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/addi_apci_2032.c