commit | 504d0239f624a8cd65a2dbbcee6230014ada43d5 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Wed Oct 22 15:36:44 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Oct 29 16:03:12 2014 +0800 |
tree | a81988e4253020c84121f10fc6f744c70aab64bb | |
parent | 60e6644399337185a860552cba977f7c47ac0723 [diff] |
staging: comedi: usbduxsigma: use comedi_buf_write_samples() Use comedi_buf_write_samples() to add the sample to the async buffer. That function will determining the number of bytes to add based on 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>