staging: comedi: dt2811: add async command support for AI subdevice
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 4 May 2016 22:25:38 +0000 (15:25 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Jun 2016 03:52:29 +0000 (20:52 -0700)
commitf2975a9b2ab9a9243f2ca2e99d8209e01138cdfc
tree9d45efe8407931293b765fc9e897cec1e168e066
parent34d3473263250c4c0883d7d6d95e8f122d8d348d
staging: comedi: dt2811: add async command support for AI subdevice

The interrupt support available on this board is pretty limited but its
simple enough to give basic async command support.

This allows reading a single channel continuously using either the internal
or an external clock to trigger each conversion. The command can also use
the external trigger input to start the command if the external clock is
being used for conversions.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/dt2811.c