From: H Hartley Sweeten Date: Tue, 14 Oct 2014 19:14:37 +0000 (-0700) Subject: staging: comedi: usbdux: introduce usbduxsub_ao_handle_urb() X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~827 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67f61f7ae9dd3e1b0ac9c2136aba2fca6740d8bf;p=pandora-kernel.git staging: comedi: usbdux: introduce usbduxsub_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