summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2015-10-06 00:22:52 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-13 07:16:05 +0300
commite031642eccc040648b09cfc7d632e2e8d0b6f94f (patch)
tree80d03bad89e58c1bda7519eff160ab673b40f789 /include/linux
parent1271dd24c63478b08fc574ec8b4fa50902b368f0 (diff)
downloadlinux-e031642eccc040648b09cfc7d632e2e8d0b6f94f.tar.xz
staging: comedi: quatech_daqp_cs: use comedi_timeout() in ao (*insn_write)
The data link between the D/A data port and the D/A converter is a serial link. The serial link requires about 8ms to complete a transfer. Use the comedi_timeout() helper to ensure that there is not a previous transfer still happening before trying to write new data to the channel. For aesthetics, save the readback value after updating the hardware. 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 'include/linux')
0 files changed, 0 insertions, 0 deletions