From: H Hartley Sweeten Date: Wed, 22 Oct 2014 21:36:44 +0000 (-0700) Subject: staging: comedi: amplc_pci230: use comedi_buf_read_samples() X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~786 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dec1a2668629755b4c926f1473ecd2615d3a3d73;p=pandora-kernel.git staging: comedi: amplc_pci230: use comedi_buf_read_samples() Use comedi_buf_read_samples() to read the analog output samples from the async buffer. That function will set the COMEDI_CB_BLOCK event when samples are read from the async buffer. In addition, the core will also handle the end-of-scan detection and set the COMEDI_CB_EOS event. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed