]> git.openfabrics.org - ~emulex/infiniband.git/commit
staging: comedi: pcl812: introduce pcl812_ai_get_sample()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 17 Feb 2014 21:27:14 +0000 (14:27 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Feb 2014 19:55:31 +0000 (11:55 -0800)
commit4bae1f4bd195589bb1c97966e0965946363ddc4b
tree7d7b06bb89304e28bb2d08fb02f7801062bf31e7
parentf8bf22a8e087225fc6a294170006cb409ae1a8ae
staging: comedi: pcl812: introduce pcl812_ai_get_sample()

Introduce a helper function to read the 12/16-bit analog input data
sample.

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>
drivers/staging/comedi/drivers/pcl812.c