summaryrefslogtreecommitdiffstats
path: root/drivers/usb/misc/usbtest.c
diff options
context:
space:
mode:
authorBoyan Nedeltchev <boyan@ti.com>2012-11-12 12:06:06 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-14 21:15:49 +0100
commit4b85c62411f7a95db33025b3aba29f7525c214d5 (patch)
treec2a68a92b12147a202a2132930859c0aecdf88b3 /drivers/usb/misc/usbtest.c
parentusb: spear-ehci/ohci: Use devm_*() routines (diff)
downloadlinux-4b85c62411f7a95db33025b3aba29f7525c214d5.tar.xz
linux-4b85c62411f7a95db33025b3aba29f7525c214d5.zip
usb: misc: usbtest: send ISO packets for g_zero
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>
Diffstat (limited to 'drivers/usb/misc/usbtest.c')
-rw-r--r--drivers/usb/misc/usbtest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/misc/usbtest.c b/drivers/usb/misc/usbtest.c
index 055b84adedac..f10bd970d50a 100644
--- a/drivers/usb/misc/usbtest.c
+++ b/drivers/usb/misc/usbtest.c
@@ -2386,6 +2386,7 @@ static struct usbtest_info gz_info = {
.name = "Linux gadget zero",
.autoconf = 1,
.ctrl_out = 1,
+ .iso = 1,
.alt = 0,
};