]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: comedi_test: use comedi_buf_write_samples()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 22 Oct 2014 22:36:26 +0000 (15:36 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Oct 2014 08:03:10 +0000 (16:03 +0800)
commit88f9662abbedb43ecf9ec4e03ab67500bbf66d7d
treed08f91c9a9dbf6df61d3a76916d2d25d917c96b7
parentce8bfa275a3c9fabd3bd670ea0da0b2d1d4ba8d2
staging: comedi: comedi_test: use comedi_buf_write_samples()

Use comedi_buf_write_samples() instead of cfc_write_to_buffer() to add the
single sample to the async buffer.

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>
drivers/staging/comedi/drivers/comedi_test.c