commit | 9a84a7d2e7111aa77a9f35da5e669423d11e0d37 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Wed Oct 22 15:36:53 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Oct 29 16:03:13 2014 +0800 |
tree | b03b341b9df2770d41458eaef98bfd21db8f54f8 | |
parent | 48e08de087ad53b9893cbc44d5ce88e0b8d9f025 [diff] |
staging: comedi: comedi_parport: 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>