From: H Hartley Sweeten Date: Wed, 22 Oct 2014 22:36:55 +0000 (-0700) Subject: staging: comedi: dt3000: use comedi_buf_write_samples() X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~747 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa96f6ef6f8672c6fabd461f6259af73d7f515c6;p=pandora-kernel.git staging: comedi: dt3000: use comedi_buf_write_samples() For aesthetics, use comedi_buf_write_samples() to add the sample to the async buffer. The core will set the COMEDi_CB_BLOCK event when data is written to the async buffer. Remove the unnecessary event from the driver. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed