diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2016-03-22 21:10:25 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-28 17:30:36 +0300 |
| commit | ff1e71be56d6c493084eac86afa0aeb59bca9c53 (patch) | |
| tree | 7bc55bcf0367d7f58153d48acf82b651464554e4 /tools/perf/scripts/python | |
| parent | 518d38423b48ad23b2f4b13dd9a027aa37423f1d (diff) | |
| download | linux-ff1e71be56d6c493084eac86afa0aeb59bca9c53.tar.xz | |
staging: comedi: ni_660x: remove BUG_ON() in ni_660x_request_mite_channel()
This BUG_ON() happens if a mite DMA channel is already requested when an
ansynchronous command is started for one of the counter subdevices.
The comedi core will only call the (*do_cmd) if the subdevice is not busy.
In this driver, the (*cancel) for the subdevice will always release any
requested mite DMA channel.
Remove the BUG_ON() which can never occur.
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
