[PATCH 0/5] staging: comedi: usbdux drivers: tidy up urb completion

Ian Abbott abbotti at mev.co.uk
Wed Oct 15 08:54:13 UTC 2014


On 14/10/14 20:14, H Hartley Sweeten wrote:
> Tidy up the usb completion functions in the usbdux drivers by introducing
> some helper functions to handle and resubmit the successful urbs. This allows
> a common exit path to be used in the completion handler to stop the async
> command, if necessary, and handle the events.
>
> This series applies after:
>    [PATCH 0/2] staging: comedi: tidy up the async event defines
>
> H Hartley Sweeten (5):
>    staging: comedi: usbdux: introduce usbduxsub_ao_handle_urb()
>    staging: comedi: usbdux: introduce usbduxsub_ai_handle_urb()
>    staging: comedi: usbduxfast: introduce usbduxfast_ai_handle_urb()
>    staging: comedi: usbduxsigma: introduce usbduxsigma_ao_handle_urb()
>    staging: comedi: usbduxsigma: introduce usbduxsigma_ai_handle_urb()
>
>   drivers/staging/comedi/drivers/usbdux.c      | 304 +++++++++++++-------------
>   drivers/staging/comedi/drivers/usbduxfast.c  | 131 +++++-------
>   drivers/staging/comedi/drivers/usbduxsigma.c | 305 +++++++++++++--------------
>   3 files changed, 345 insertions(+), 395 deletions(-)
>

Reviewed-by: Ian Abbott <abbotti at mev.co.uk>

-- 
-=( Ian Abbott @ MEV Ltd.    E-mail: <abbotti at mev.co.uk> )=-
-=(                          Web: http://www.mev.co.uk/  )=-


More information about the devel mailing list