commit | c56cad003decb41d5690ab7b5b74b89d3e3471ba | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Wed Apr 23 16:06:58 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Apr 25 15:07:40 2014 -0700 |
tree | ebf296b457fd7cabe33fb8d1ff53da6323a8cad7 | |
parent | 4b1fea003cdfb4ebe0764b484f1f808b7e2e5071 [diff] |
staging: comedi: adv_pci1710: cmd->scan_begin_src can only be TRIG_FOLLOW In Step 1 of the (*do_cmdtest), the cmd->scan_begin_src is checked to only allow TRIG_FOLLOW. The (*do_cmd) does not need to recheck this. 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>