diff options
| author | H Hartley Sweeten <[email protected]> | 2014-11-11 16:55:27 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2014-11-26 15:33:24 -0800 |
| commit | c5f1b1e5529ef46769615ac8f4e38d0830b5a9c0 (patch) | |
| tree | f332bbb59089d415e3832590457876c3367b9baf /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 2dd9681196c56a7ae48ec99522acc23843844bee (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 <[email protected]>
Reviewed-by: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions