From: H Hartley Sweeten Date: Tue, 14 Oct 2014 19:14:38 +0000 (-0700) Subject: staging: comedi: usbdux: introduce usbduxsub_ai_handle_urb() X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~826 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41ca22a8c575b5f2e76150a30db5d1a934ed7ca9;p=pandora-kernel.git staging: comedi: usbdux: introduce usbduxsub_ai_handle_urb() Factor the urb handling and resubmit out of the analog input 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