提交 4b85c624 编写于 作者: B Boyan Nedeltchev 提交者: Greg Kroah-Hartman

usb: misc: usbtest: send ISO packets for g_zero

since commit b4036ccd (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: NBoyan Nedeltchev <boyan@ti.com>
Signed-off-by: NFelipe Balbi <balbi@ti.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 98515e59
...@@ -2386,6 +2386,7 @@ static struct usbtest_info gz_info = { ...@@ -2386,6 +2386,7 @@ static struct usbtest_info gz_info = {
.name = "Linux gadget zero", .name = "Linux gadget zero",
.autoconf = 1, .autoconf = 1,
.ctrl_out = 1, .ctrl_out = 1,
.iso = 1,
.alt = 0, .alt = 0,
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册