commit | 9fdfe0fd009b261aa51c0226ca261ab039feaf62 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Wed Oct 22 15:36:38 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Oct 29 16:03:11 2014 +0800 |
tree | 50c51ee0f7e3c789a5c4073988eb67b65d5bb3ad | |
parent | be591d5c42cdc25cfe8a586082a7e0e3ef0223b1 [diff] |
staging: comedi: adl_pci9111: use comedi_buf_write_samples() Use comedi_buf_write_samples() to add the samples to the async buffer. The number of bytes to add is determined automatically based on the number of samples and the bytes_per_sample(). 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>