diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-06-05 15:38:14 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-06 12:01:35 -0700 |
| commit | 6092e9428de76606d4fd337422322aee857a3e1a (patch) | |
| tree | cba43a7c23880ab1c40f3eec6482a25154541a15 /tools/perf/scripts/python/syscall-counts.py | |
| parent | d69b55f3d07a1449385cd6aa5c11251d4810cc8a (diff) | |
staging: comedi: pcmad: properly handle single/diff input configuration
The comedi_config utility is used to attach to this board. One of the
configuration options passed by the user sets the analog input reference
for single-ended or differential inputs.
Use the configuration option to correctly set the comedi_subdevice flags
as well as the number of channels.
Remove the 'differential' variable from the private data. Its not used
by the driver.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
