summaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2014-11-05 10:21:07 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-05 14:59:47 -0800
commit29ee9fbaa1bfa2e89fc7b5774f18d22bc20dd574 (patch)
tree00a11aa9e89c76ed60a1e7bb00dee61d22713af5 /tools/perf/scripts
parent4b8ffac3859155b1f3c5ded5aeda41fedfe5555e (diff)
staging: comedi: usbduxsigma: use comedi_async 'scans_done' to detect AI EOA
Remove the private data member 'ai_sample_count' and use the comedi_async 'scans_done' member to detect the analog input end-of-acquisition. Move the EOA check so it happens after adding the samples from the current urb to the async buffer. This prevents the unnecessary resubmit of the urb when the EOA occurs. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions