commit | 290d028e0478c5020d69875d817a8b529439874e | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Wed Oct 22 15:37:07 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Oct 29 16:03:15 2014 +0800 |
tree | a1c4631bc4a86fbce190b82da7b378bb7cfc4009 | |
parent | 5023a4bb10f5372a8a9d2429d1dcb32b4ed79b80 [diff] |
staging: comedi: usbdux: use comedi_buf_write_samples() Use comedi_buf_write_samples() to add the sample to the async buffer. The async events COMEDI_CB_BLOCK and COMEDI_CB_EOS will be detected and set by the core. Remove the unnecessary events in the driver. 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>