diff options
| author | H Hartley Sweeten <[email protected]> | 2014-07-14 12:24:00 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2014-07-16 13:24:43 -0700 |
| commit | eeca0caa84169dcff5e67da6dee74b785f12a4f4 (patch) | |
| tree | 2a9d0c57e870c2dfb779bfa98b035697aa9b08fa /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | caedecfa3a0aea7dc588fd9bb8a0453e74d381c9 (diff) | |
staging: comedi: ni_mio_common: only reset the ai/ao subdevices if they exist
So of the boards supported by this driver do not have analog inputs and
some don't have analog outputs. Move the calls that reset these subdevices
during the (*attach) by ni_E_init() so they only happen if the subdevices
are present.
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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions