commit | 1392dccbbd70a064864ac698e2897a22a8ce370c | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Thu Apr 14 09:58:01 2016 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Apr 28 22:17:28 2016 -0700 |
tree | eb192fdda33ecc77bdc08dcc90000c2efbee00b8 | |
parent | 55f9e7d9d35ac681dc899c9874dec35976c27dda [diff] |
staging: comedi: ni_mio_common: tidy up AO scan begin The (*do_cmdtest) validates that the cmd->scan_begin_src will only be TRIG_TIMER or TRIG_EXT. Refactor ni_ao_cmd_set_update() and remove the BUG() which can never occur. 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>