diff options
| author | H Hartley Sweeten <[email protected]> | 2016-04-14 09:58:00 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-04-28 22:17:28 -0700 |
| commit | 55f9e7d9d35ac681dc899c9874dec35976c27dda (patch) | |
| tree | 12d6f2895ea257d321dabf2fe913e33c941a6698 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 0b235d5ce4e084535e27e0416449d3c3b0d133ea (diff) | |
staging: comedi: ni_mio_common: tidy up AO trigger selection
The AO subdevice (*cancel), ni_ao_reset(), always sets the private
data 'ao_trigger_select' to 0. So when a command is started the
'trigsel' value in ni_ao_cmd_set_trigger() will always start as 0.
Remove the unnecessary member from the private data.
The (*do_cmdtest) validates that the cmd->start_src will only be
TRIG_INT or TRIG_EXT. Refactor ni_ao_cmd_set_trigger() and remove
the BUG() which can never occur.
Signed-off-by: H Hartley Sweeten <[email protected]>
Reviewed-by: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions