[PATCH v2 0/2] isoc support for gadget zero and usbtest

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

 



This adds support for isochronous endpoints to gadget zero and
the usbtest module.

We have used something similar to this for testing our super
speed device and host controllers, but it would be easier (and
require less support) to have this in the mainline kernel.

I have tested this with the Synopsys device and host, at high
speed and super speed. It still needs testing with a UDC that
doesn't support super speed or isoc, to make sure the simple
case is not broken.

V2 fixes a panic when the USB cable is pulled while transfers
are still active. It also changes the loop count in
source_sink_start_ep() from 4 to 8, so isoc transfers will
work when using the dwc3 device controller.

Paul Zimmerman (2):
  usb: gadget: add isochronous support to gadget zero
  usb: usbtest: add super speed isoc support to usbtest

 drivers/usb/gadget/f_loopback.c   |    4 +-
 drivers/usb/gadget/f_sourcesink.c |  417 ++++++++++++++++++++++++++++++++-----
 drivers/usb/gadget/g_zero.h       |    5 +-
 drivers/usb/gadget/zero.c         |   19 ++-
 drivers/usb/misc/usbtest.c        |   60 ++++--
 5 files changed, 422 insertions(+), 83 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux