diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2014-02-10 22:49:30 +0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-14 21:28:45 +0400 |
| commit | 5cc0387c1972ab68dc8ced245a6da18bc565c0c0 (patch) | |
| tree | ba867332f6dcd4af4d0c7013b5b773ec2dc334ea /include | |
| parent | fa3fa1dea68e43599657bb06610e258299e19f2e (diff) | |
| download | linux-5cc0387c1972ab68dc8ced245a6da18bc565c0c0.tar.xz | |
staging: comedi: adq12b: use comedi_timeout()
Use comedi_timeout() to wait for the analog input end-of-conversion.
This also fixes a possible bug where invalid data is returned if the
conversion did not complete.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
