From: H Hartley Sweeten Date: Wed, 22 Oct 2014 22:36:31 +0000 (-0700) Subject: staging: comedi: ni_labpc_isadma: use comedi_buf_write_samples() X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~771 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9357cba10f866799516befba2bb374463ccf74d;p=pandora-kernel.git staging: comedi: ni_labpc_isadma: use comedi_buf_write_samples() Use comedi_buf_write_samples() instead of cfc_write_to_buffer() to add all the samples to the async buffer in one operation. The core will add the COMEDI_CB_BLOCK event when data is written to the async buffer. Remove the unnecessary event in the driver. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed