diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2015-01-20 12:06:01 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-01-25 19:59:09 +0800 |
| commit | a3b2ee1d3ef56d0221fc5b246368dc13cf6b8ba4 (patch) | |
| tree | 37b7444e6f05715d5c06fd88bb159fb93fbb29a2 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 84bb0bccd26ec3029124a9dd200b985c1cde77bd (diff) | |
staging: comedi: das16: use COMEDI_CB_CANCEL_MASK to see if command is running
In das16_interrupt(), use COMEDI_CB_CANCEL_MASK to determine if the async
command is still running and the dma needs to be re-enabled. This will
cause the driver not re-enable the dma if the async buffer overflows
(COMEDI_CB_OVERFLOW), a hardware error occurs (COMEDI_CB_ERROR), or the
command completes (COMEDI_CB_EOA).
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>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
