summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-12-09 15:30:41 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-17 10:01:50 -0800
commit8b0fcb59922dae8215ae0380c3a41c5affca02da (patch)
tree6a8bc0c2be449df138a459a2687eb987046c87c4 /tools/perf/scripts/python
parent5fde07640cc9905f961afd5b78d2269e157eea7c (diff)
staging: comedi: pcmmio: cleanup ai_rinsn()
Rename this function to have namespace associated with the driver. Refactor the function to remove the extra write to the command register between each ADC conversion. We only need to do one dummy conversion in order to flush the serial ADC. After that each command will return the result of the previous conversion. Define the register map for the analog input registers. 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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions