git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d682141
)
staging: comedi: comedi_test: use comedi_async 'scans_done' to detect EOA
author
H Hartley Sweeten
<hsweeten@visionengravers.com>
Wed, 5 Nov 2014 17:31:31 +0000
(10:31 -0700)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 7 Nov 2014 17:29:41 +0000
(09:29 -0800)
Remove the private data member 'ai_count' and use the comedi_async 'scans_done'
member to detect the end-of-acquisition.
Use the helper function comedi_nscans_left() to check if the number of scans
left in the command.
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>
No differences found