From: H Hartley Sweeten Date: Tue, 11 Nov 2014 23:55:17 +0000 (-0700) Subject: staging: comedi: dmm32at: make AI (*cancel) actually cancel async command X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~152 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d9b0714a29a4d56bb7345a58737438c89fa250b;p=pandora-kernel.git staging: comedi: dmm32at: make AI (*cancel) actually cancel async command Currently the AI (*cancel) changes a private data member to cause the interrupt handler to cancel the async command after the next interrupt. Move the code that disables the interrupt and terminates the acquisition from the interrunt handler into dmm32at_ai_cancel() so that the async command is terminated instantly. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed