From: H Hartley Sweeten Date: Tue, 11 Nov 2014 00:57:54 +0000 (-0700) Subject: staging: comedi: adl_pci9118: use comedi_async 'scans_done' to detect EOA X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~156 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6250d982ee02ba44c230b7fb6f17432732a7a0fe;p=pandora-kernel.git staging: comedi: adl_pci9118: use comedi_async 'scans_done' to detect EOA The comedi core now counts the number of samples added to the async buffer and detects the end-of-scan and increments the comedi_async 'scans_done' counter. Remove the private data member 'ai_act_scan' and use the 'scans_done' member to detect the end-of-acquisition. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed