From: H Hartley Sweeten Date: Tue, 14 Oct 2014 19:14:40 +0000 (-0700) Subject: staging: comedi: usbduxsigma: introduce usbduxsigma_ao_handle_urb() X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~824 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a5dfb212010e017b8bbc91f8df196258f790f90;p=pandora-kernel.git staging: comedi: usbduxsigma: introduce usbduxsigma_ao_handle_urb() Factor the urb handling and resubmit out of the analog output urb completion handler and tidy it up. This allows a common exit path to be used in the completion handler to stop the async command and handle the events. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Reviewed-by: Bernd Porr Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed