diff options
| author | 2013-06-05 15:38:14 -0700 | |
|---|---|---|
| committer | 2013-06-06 12:01:35 -0700 | |
| commit | 6092e9428de76606d4fd337422322aee857a3e1a (patch) | |
| tree | cba43a7c23880ab1c40f3eec6482a25154541a15 /scripts | |
| parent | staging: comedi: pcmad: change boardinfo 'n_ai_bits' to 'ai_maxdata' (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 'scripts')
0 files changed, 0 insertions, 0 deletions
