diff options
author | Ian Abbott <abbotti@mev.co.uk> | 2019-04-16 14:37:48 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-17 12:40:51 +0200 |
commit | 6229fed9ee85f38126ebb0818ada55dddcf9f97a (patch) | |
tree | d4b542d0c36b5d85f514482bae4b657b9044e795 /drivers/staging/wilc1000 | |
parent | 4138b1d44f34703508a3d293011216557b6b5e68 (diff) | |
download | linux-6229fed9ee85f38126ebb0818ada55dddcf9f97a.tar.gz linux-6229fed9ee85f38126ebb0818ada55dddcf9f97a.tar.bz2 linux-6229fed9ee85f38126ebb0818ada55dddcf9f97a.zip |
staging: comedi: dyna_pci10xx: Set number of AO channels to 1
The "dyna_pci10xx" driver supports the Dynalog India PCI-1050. There
seems to be very little online information available about this card,
but as far as I can tell[*], it only has 1 AO (analog output) channel,
not 16 AO channels as reported in the Comedi subdevice information.
Besides, the Comedi "insn_write" handler for the AO subdevice takes no
account of channel numbers. Change the `n_chans` member of the AO
subdevice structure to 1 to reflect this.
[*] The card is no longer mentioned on the manufacturer's web-site and I
couldn't find any archived page for the site on archive.org. I found
part of a scientific paper which describes the card as having a single
channel D/A converter:
<http://shodhganga.inflibnet.ac.in/bitstream/10603/150646/15/15_chapter%205.pdf>.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000')
0 files changed, 0 insertions, 0 deletions