summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2014-11-11 16:55:27 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-26 15:33:24 -0800
commitc5f1b1e5529ef46769615ac8f4e38d0830b5a9c0 (patch)
treef332bbb59089d415e3832590457876c3367b9baf /tools/perf/scripts/python
parent2dd9681196c56a7ae48ec99522acc23843844bee (diff)
staging: comedi: dmm32at: introduce dmm32at_ai_set_chanspec()
Introduce a helper function to set the analog input channel scan and range control registers. Use the new helper in the analog input (*insn_read) and (*do_cmd) functions. The extra sanity checks in the (*do_cmd) are not necessary. The cmd->chanlist will always be valid and the (*do_cmdtest) validates the channel list in Step 5. 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