From: H Hartley Sweeten Date: Wed, 22 Oct 2014 22:37:08 +0000 (-0700) Subject: staging: comedi: hwdrv_apci3120: use comedi_buf_write_samples() X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~734 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=435efc8a43330d957cf6e8b79f8e98317668a895;p=pandora-kernel.git staging: comedi: hwdrv_apci3120: use comedi_buf_write_samples() Use comedi_buf_write_samples() to add the samples to the async buffer. The COMEDI_CB_EOS and COMEDI_CB_OVERFLOW events will be automatically handled by the core. Remove the unecessary handling in the driver. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed