commit | 605b670e9b0ca1036dee636701af0dd220927e67 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Fri Apr 08 12:41:40 2016 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Apr 28 22:16:10 2016 -0700 |
tree | 34cf061708082abc5ec492242b97351a000d1d29 | |
parent | bc524200ed26d173c78be46e4753c6f7754dc84e [diff] |
staging: comedi: das1800: initialize all analog outputs The current code used to initialize the analog outputs only sets the last channel. The other channels will be reloaded with the last value that was written to them. Move the code into the subdevice init and properly initialize all the channels to 0V. 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>