]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite1ea4046f82e23e3ae8a7b48dc2ff2499a7e675d
tree9d45efe8407931293b765fc9e897cec1e168e066
parent1cf910c14d6fe45a73cfb7ff0d0dd0a3f375b636
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