usb: misc: usbtest: send ISO packets for g_zero
authorBoyan Nedeltchev <boyan@ti.com>
Mon, 12 Nov 2012 11:06:06 +0000 (13:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Nov 2012 20:15:49 +0000 (12:15 -0800)
since commit b4036cc (usb: gadget: add
isochronous support to gadget zero), g_zero
has learned about isochronous transfers, which
allows us to use usbtest.ko to exercise
isochronous pipes.

All we need to do to enable that functionality
on usbtest.ko, is set the "iso" to 1 on
struct usbtest_info

Signed-off-by: Boyan Nedeltchev <boyan@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/usbtest.c

index 055b84adedac678b4a20dfe6eaeed25a123b3d32..f10bd970d50a741ed1ad1a4d74bfc39708ebf2e7 100644 (file)
@@ -2386,6 +2386,7 @@ static struct usbtest_info gz_info = {
        .name           = "Linux gadget zero",
        .autoconf       = 1,
        .ctrl_out       = 1,
+       .iso            = 1,
        .alt            = 0,
 };