From: H Hartley Sweeten Date: Wed, 5 Nov 2014 17:31:30 +0000 (-0700) Subject: staging: comedi: amplc_pci224: use comedi_async 'scans_done' to detect EOA X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~370 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d682141e59676c2c31c2c8a939348369429b1042;p=pandora-kernel.git staging: comedi: amplc_pci224: use comedi_async 'scans_done' to detect EOA Remove the private data member 'ao_stop_count' and use the comedi_async 'scans_done' member to detect the end-of-acquisition. Use the helper function comedi_nscans_left() to determine the number of scans available in the async buffer or left in the command. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed