[PATCH 04/16] staging: comedi: comedi_test: limit maximum convert_arg

2015-10-27 Thread Ian Abbott
When testing the parameters for setting up an asynchronous command on the AI subdevice, limit the maximum conversion period (`cmd->convert_arg`) so that the number of conversions in a scan (`cmd->scan_end_arg`, same as `cmd->chanlist_len`) multiplied by the conversion period fits within an

[PATCH 04/16] staging: comedi: comedi_test: limit maximum convert_arg

2015-10-27 Thread Ian Abbott
When testing the parameters for setting up an asynchronous command on the AI subdevice, limit the maximum conversion period (`cmd->convert_arg`) so that the number of conversions in a scan (`cmd->scan_end_arg`, same as `cmd->chanlist_len`) multiplied by the conversion period fits within an