summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/zero.c
diff options
context:
space:
mode:
authorAmit Blay <ablay@codeaurora.org>2011-07-03 16:29:31 +0200
committerFelipe Balbi <balbi@ti.com>2011-07-08 12:57:54 +0200
commit57c97c02de0e7a59cb48d3d7666f4afaf9968e84 (patch)
tree93cabb75526859842ee1f0846aee10e3bff0b245 /drivers/usb/gadget/zero.c
parentusb: gadget: add SS descriptors to Ethernet gadget (diff)
downloadlinux-57c97c02de0e7a59cb48d3d7666f4afaf9968e84.tar.xz
linux-57c97c02de0e7a59cb48d3d7666f4afaf9968e84.zip
usb: gadget: zero: add superspeed support
This patch adds SuperSpeed descriptors to the g_zero gadget. The SuperSpeed descriptors were added both for f_soursesink and f_loopback function drivers. Signed-off-by: Tatyana Brokhman <tlinder@codeaurora.org> Signed-off-by: Amit Blay <ablay@codeaurora.org> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/zero.c')
-rw-r--r--drivers/usb/gadget/zero.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/zero.c b/drivers/usb/gadget/zero.c
index af7e7c3818d8..00e2fd2d4791 100644
--- a/drivers/usb/gadget/zero.c
+++ b/drivers/usb/gadget/zero.c
@@ -340,7 +340,7 @@ static struct usb_composite_driver zero_driver = {
.name = "zero",
.dev = &device_desc,
.strings = dev_strings,
- .max_speed = USB_SPEED_HIGH,
+ .max_speed = USB_SPEED_SUPER,
.unbind = zero_unbind,
.suspend = zero_suspend,
.resume = zero_resume,