summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/serial.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2012-02-06 18:46:36 +0100
committerFelipe Balbi <balbi@ti.com>2012-02-09 10:11:36 +0200
commit6fecfb05c077586ba85aa6f52f10abf30a4bfb40 (patch)
treeeb08f6192d75ef614a25a8148a99878dc6106057 /drivers/usb/gadget/serial.c
parent609ca228073ae06c5513474d2cdf0af7ee5766ec (diff)
downloadop-kernel-dev-6fecfb05c077586ba85aa6f52f10abf30a4bfb40.zip
op-kernel-dev-6fecfb05c077586ba85aa6f52f10abf30a4bfb40.tar.gz
usb: gadget: add usb3.0 descriptors to serial gadgets
This patch adds SS descriptors to the ACM & generic serial gadget. The ACM part was tested with minicom + dummy + send / receive files over ttyACM <=> ttyGS0. The generic serial part (f_serial) was not tested (haven't found a driver on the host side). The nokia & multi gadget use HS at most. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/serial.c')
-rw-r--r--drivers/usb/gadget/serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/serial.c b/drivers/usb/gadget/serial.c
index ad9e5b2..665c074 100644
--- a/drivers/usb/gadget/serial.c
+++ b/drivers/usb/gadget/serial.c
@@ -242,7 +242,7 @@ static struct usb_composite_driver gserial_driver = {
.name = "g_serial",
.dev = &device_desc,
.strings = dev_strings,
- .max_speed = USB_SPEED_HIGH,
+ .max_speed = USB_SPEED_SUPER,
};
static int __init init(void)
OpenPOWER on IntegriCloud