The dyna_pci10xx driver reports the wrong number of channels on its
analog output subdevice, but that is mostly harmless as the Comedi
"insn_write" instruction handler does nothing with the requested channel
number, but let's fix it.  Also, don't bother configuring the maximum
length of channel list (`len_chanlist`) explicitly, as that is only
needed for subdevices that support streaming acquisition (which none
of them do).

1) staging: comedi: dyna_pci10xx: Don't bother configuring len_chanlist
2) staging: comedi: dyna_pci10xx: Set number of AO channels to 1

 drivers/staging/comedi/drivers/dyna_pci10xx.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to