staging: comedi: comedidev.h: clarify async->event error/cancel detection
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 13 Oct 2014 16:56:08 +0000 (09:56 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Oct 2014 07:47:11 +0000 (15:47 +0800)
commit781f933c151ee47e3cc1c8ef5491db23f1b61c9a
tree00503549f0cf61908ee7fe60038179c306333976
parentbb856b6c041c200910b031b535397e2c805789c5
staging: comedi: comedidev.h: clarify async->event error/cancel detection

Introduce COMEDI_CB_ERROR_MASK and COMEDI_CB_CANCEL_MASK to clarify the
async->events that indicate errors and cancel an async command.

Use the new defines to tidy up and clarify the code.

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/comedi_fops.c
drivers/staging/comedi/comedidev.h
drivers/staging/comedi/drivers.c
drivers/staging/comedi/drivers/amplc_pci230.c
This page took 0.024757 seconds and 5 git commands to generate.