diff options
| author | H Hartley Sweeten <[email protected]> | 2013-12-09 15:30:47 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-12-17 10:01:50 -0800 |
| commit | 68533c7b8e87a907babab1da39652f1fa518697d (patch) | |
| tree | c3e40c32f5f3e20d35a4d32dbc77b74c4971ad45 /tools/perf/scripts/python | |
| parent | a81f87e9a08bae7a906a5cedae1ce100773c77df (diff) | |
staging: comedi: pcmmio: cleanup ao_winsn()
Rename this function to have namespace associated with the driver.
Refactor the function to remove the extra write to the command register
to set the range before writing the DAC value. Since the range is constant
for the entire comedi_insn it only needs to be set once. All writes to the
DAC after that will use the same range.
Define the register map for the analog output registers.
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')
0 files changed, 0 insertions, 0 deletions