diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2014-09-09 16:16:04 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-11 14:35:22 -0700 |
| commit | 32f9ff7039eb59eaef0c153328601ac6164b746a (patch) | |
| tree | 5572b57ea16b4e6cabae70436bea0f9d2c7c7da3 /scripts | |
| parent | 8b9505527e5560297be00094fb4819b0e91e4138 (diff) | |
staging: comedi: s626: fix cmd->stop_arg validation for stop_src == TRIG_COUNT
The only limit for the stop_arg with a stop_src == TRIG_COUNT is that there is at
least 1 scan in order to prevent an empty acquisition. The max test is bogus.
Fix the validation.
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
