diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-09-25 15:37:18 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-26 09:32:19 -0700 |
| commit | 716343c43891dcb865bd9f2603e68804d3cc5660 (patch) | |
| tree | 8206fef45a88941752ca103f486be29fe398fdcb /kernel/workqueue.c | |
| parent | fff46207245cd9e39c05b638afaee2478e64914b (diff) | |
staging: comedi: pcl726: fix the analog output range_table_list initialization
The analog output channels use jumpers on the board to individually set
the range used. This driver uses the configuration options passed to the
(*attach) function to setup the analog output subdevice range_table_list
for each channel.
The configuration options should be 'it->options[2 + i]' for each channel 'i'
not '...[2 + 1]' for each channel. Fix the error and move the code so that
the range_table_list is setup before the subdevice is initialized.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/workqueue.c')
0 files changed, 0 insertions, 0 deletions
