diff options
| author | H Hartley Sweeten <[email protected]> | 2014-04-17 10:07:48 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2014-04-22 10:21:29 -0700 |
| commit | 7c9fc34ea3ed02d7d8356094ac179e1c63ae443b (patch) | |
| tree | 6e1889926e4385d9816e1a636b108b6bfdb0d9ee /tools/perf/scripts/python/bin | |
| parent | f50cebb9baa5fd0e561f436bd53ffa35df16edb2 (diff) | |
staging: comedi: addi_apci_3xxx: fix ai subdevice 'len_chanlist'
Due to a driver limitation, the (*do_cmdtest) for the analog input subdevice
overrides the cmd->chanlist_len to force single channel chanlists. But, the
cmd->scan_end_arg was already validated before this happens. Instead of
fixing the (*do_cmdtest) just set the subdevice len_chanlist to 1 to limit
the chanlist size. Move the comment also.
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/bin')
0 files changed, 0 insertions, 0 deletions