summaryrefslogtreecommitdiffstats
path: root/drivers/staging/comedi/comedi_fops.c
diff options
context:
space:
mode:
authorH Hartley Sweeten2014-02-10 19:49:44 +0100
committerGreg Kroah-Hartman2014-02-14 18:28:46 +0100
commitf7b3d79a622c97483c8d0e6e4bbd5207929259d9 (patch)
tree77fcc609d17e41cf41ffec744ab234a6a95e4ea4 /drivers/staging/comedi/comedi_fops.c
parentstaging: comedi: dt2814: use comedi_timeout() (diff)
downloadkernel-qcow2-linux-f7b3d79a622c97483c8d0e6e4bbd5207929259d9.tar.gz
kernel-qcow2-linux-f7b3d79a622c97483c8d0e6e4bbd5207929259d9.tar.xz
kernel-qcow2-linux-f7b3d79a622c97483c8d0e6e4bbd5207929259d9.zip
staging: comedi: dmm32at: use comedi_timeout()
Use comedi_timeout() to wait for the analog input settle and end-of- conversion. These tests use different registers but the same bit so the register is passed as the 'context'. The same test is used in dmm32at_ai_cmd() but the 'insn' is not available. This is ok since the test function, and comedi_timeout() don't use it. Use comedi_timout() to wait for the analog output end-of-conversion. 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 'drivers/staging/comedi/comedi_fops.c')
0 files changed, 0 insertions, 0 deletions