diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2015-10-06 00:23:08 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-13 07:16:05 +0300 |
| commit | 848a7f7af0fb490274dc6031b0a79f4440a4948f (patch) | |
| tree | 43bd9c46e1f052c6fcd6e71b2c3f695f40f93de4 /include/linux/console_struct.h | |
| parent | 77e7c200f37536e05f714bcebc34f58aba9eabfc (diff) | |
| download | linux-848a7f7af0fb490274dc6031b0a79f4440a4948f.tar.xz | |
staging: comedi: quatech_daqp_cs: fix daqp_ai_cancel()
Make sure interrupts are disabled and the event flags are cleared when
an analog input async command is canceled.
Remove the unnecessary calls to stop any running conversions in the
(*insn_read) and (*do_cmd) functions. The comedi core will only call
these functions if the subdevice is not busy (it has already been
canceled).
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 'include/linux/console_struct.h')
0 files changed, 0 insertions, 0 deletions
