From: H Hartley Sweeten Date: Wed, 5 Nov 2014 17:31:41 +0000 (-0700) Subject: staging: comedi: das1800: use comedi_async 'scans_done' to detect EOA X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~359 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=605d76f6eb007aeb1dbcb7429adde73f2ef1fd9f;p=pandora-kernel.git staging: comedi: das1800: use comedi_async 'scans_done' to detect EOA Remove the private data member 'count' and use the comedi_async 'scans_done' member to detect the end-of-acquisition. Use the comedi_nsamples_left() helper to get the number of samples to actually add to the async buffer. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed