From: H Hartley Sweeten Date: Wed, 5 Nov 2014 17:21:03 +0000 (-0700) Subject: staging: comedi: s626: use comedi_async 'scans_done' to detect EOA X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~399 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aee15aea0d8e879ec22142491611d98ab987d2ba;p=pandora-kernel.git staging: comedi: s626: use comedi_async 'scans_done' to detect EOA Remove the private data member 'ai_sample_count' and use the comedi_async 'scans_done' member to detect the end-of-acquisition. Also, remove the unnecessary COMEDI_CB_EOS event. The core automatically detects and adds that event. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed