diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2016-05-03 12:29:48 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-06-17 20:42:21 -0700 |
| commit | ceb6a45de22f51174e5f508eb403679a7aa127e4 (patch) | |
| tree | 0ecd74043b3592b0714032939825ee9af4b31065 /tools/perf/scripts/python | |
| parent | 6b62e7578b82c797897f960680cebe3c858780d6 (diff) | |
| download | kernel-ceb6a45de22f51174e5f508eb403679a7aa127e4.tar.gz | |
staging: comedi: das16m1: remove unnecessary ai 'cancel' operations
The comedi core will only call the (*insn_read) and (*do_cmd) functions
if the subdevice is not "busy". All async commands are terminated by
a (*cancel) operation which clears the INTE and PACER_MASK bits in the
interrupt control register. These bits are also cleared when the driver
first attaches. There is no need for the (*insn_read) or (*do_cmd) to
duplicate the cancel.
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')
0 files changed, 0 insertions, 0 deletions
