summaryrefslogtreecommitdiff
path: root/include/uapi/linux/ppdev.h
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2014-09-18 11:35:41 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-20 10:29:24 +0800
commita708e091598cd8937bcdba66d49d01d81df9b9ed (patch)
tree177b7e9caa0aeb59fd748b2e8f75226877c76bc7 /include/uapi/linux/ppdev.h
parent351a7bffbd4a02dd8a46209a4c6582860a72601d (diff)
staging: comedi: rtd520: use comedi_handle_events()
Use comedi_handle_events() to automatically (*cancel) the async command for an end-of-acquisition or if an error/overflow occurs. The code to cancel the async command can then be removed from rtd_interrupt(). Since the (*cancel) will also clear the FIFO, the ai_read_dregs() function can also be removed. 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/uapi/linux/ppdev.h')
0 files changed, 0 insertions, 0 deletions