summaryrefslogtreecommitdiff
path: root/include/linux/errqueue.h
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2015-10-06 00:23:04 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-13 07:16:05 +0300
commit16d6b58753ccc34e6d915118984b60457d2c3327 (patch)
tree0b845d227e6d21578e2cc19636fca1126aeff136 /include/linux/errqueue.h
parent3c56cdc5cc16dabd6ed0867977a6e374a3cc0da7 (diff)
downloadlinux-16d6b58753ccc34e6d915118984b60457d2c3327.tar.xz
staging: comedi: quatech_daqp_cs: don't use interrupts for ai (*insn_read)
The comedi (*insn_read) functions are supposed to do simple one-shot reading of an analog input channel. Currently this driver enables interrupts and uses wait_for_completion_interruptible() to allow the interrupt routine to let the analog input (*insn_read) know that the end-of-conversion has occured. Simplify the function by using the comedi_timeout() helper to check the aux status register to see when the conversion is finished. 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>
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions