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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.0.3

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux