commit | db1876ff1e7c86dc97d1721ce2e5e0df71072acb | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Mon Aug 24 10:13:55 2015 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Sep 12 18:24:23 2015 -0700 |
tree | d60ba398ca010520489ee70bbca9daf3d14bff33 | |
parent | 99555fc25a5f2a40f0d111a67b13bcd8e8d826b1 [diff] |
staging: comedi: usbduxfast: only chanlist of 1, 2, 3, or 16 are supported The analog input (*do_cmd) only supports channel lists of 1, 2, 3, or 16 channels. Add a check for this to usbduxfast_ai_check_chanlist() and remove the check from usbduxfast_ai_cmd(). 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>