From: Ian Abbott Date: Thu, 26 Sep 2013 09:16:37 +0000 (+0100) Subject: staging: comedi: pcl711: add AI cancel handler X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~62^2~566 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7ea391cc4edf5ebb62d6341285ac5da342213f4;p=pandora-kernel.git staging: comedi: pcl711: add AI cancel handler Comedi subdevices that support asynchronous commands should have a 'cancel' handler to stop an in-progress command. Add such a handler to the pcl711 driver module. I think merely setting the acquisition mode to "software-triggered" would be sufficient, but also clear the interrupt status for good luck. Signed-off-by: Ian Abbott Reviewed-by: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed