diff options
| author | H Hartley Sweeten <[email protected]> | 2014-11-04 10:55:11 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2014-11-07 09:34:04 -0800 |
| commit | 4646364cc8e6346776828155ab817e254194df62 (patch) | |
| tree | 8073f54d7a0afe8de1375d990130eb5dd05293f8 /tools/perf/scripts/python/bin | |
| parent | d895948eb850131f83f18a2bf2d3c5e53486f7d7 (diff) | |
staging: comedi: addi_apci_3120: don't use timer 2 to count scans
Timer 2 can be used to count the number of scans when the cmd->stop_src
is TRIG_COUNT. Unfortunately that timer can also be used by userspace and
this breaks the async command. Timer 2 also only works for counting the
number of scans when DMA is not used.
The number of scans is counted by the core using the private data membmer
'scans_done'. Use that to detect the End-Of-Scan for both DMA and none
DMA modes.
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/bin')
0 files changed, 0 insertions, 0 deletions