summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2014-03-04 22:30:20 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-07 05:06:18 +0400
commit5af366ffad65425b6b89b76c2c26e0100af07d1d (patch)
tree802b35199fe0aa2efbde2f0ebd054026b6c22d56 /include/linux
parent6cf215d730d5fc050603edd0d693e3520626b6a3 (diff)
downloadlinux-5af366ffad65425b6b89b76c2c26e0100af07d1d.tar.xz
staging: comedi: pcl818: define the mode register bits
Define the bits in the register to remove the magic values. Tidy up pcl818_ai_cancel(). The 0x73 mask of the value read from the control register will disable dma and interrupts but it does not change the trigger mode. So the software trigger following it might not work. Just disable the trigger and clear any pending end-of-conversion. 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