staging: comedi: addi_apci_2032: set COMEDI_CB_OVERFLOW
authorIan Abbott <abbotti@mev.co.uk>
Mon, 3 Dec 2012 18:15:42 +0000 (18:15 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jan 2013 22:10:01 +0000 (14:10 -0800)
commit6bf9a3babe630a9972b28fd3bb7d2cfcd40e6409
tree686a1635578553feeb059aed52e870209d57d400
parentb82fe57c4d059a8ff1190ead1693d66b868353b2
staging: comedi: addi_apci_2032: set COMEDI_CB_OVERFLOW

If the call to `comedi_buf_put()` fails in the interrupt routine, set
the `COMEDI_CB_OVERFLOW` event flag.  Note that the `COMEDI_CB_ERROR`
flag will have also been set by `comedi_buf_put()` in this case.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/addi_apci_2032.c