commit | a8f21156a07cb0b11fddeab771e11ec7c08283c9 | [log] [tgz] |
---|---|---|
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | Tue Jul 19 20:21:52 2011 +0200 |
committer | Felipe Balbi <balbi@ti.com> | Mon Aug 01 22:06:37 2011 +0300 |
tree | 11e20cb45a17bcdb8f8eff2b2ce50b4fc7c9aea8 | |
parent | 9c5ea0ea27f5dbf17e5c0580060518588f8df7d4 [diff] |
usb: gadget: composite: fix bMaxPacketSize for SuperSpeed For bMaxPacketSize0 we usually take what is specified in ep0->maxpacket. This is fine in most cases, however on SuperSpeed bMaxPacketSize0 specifies the exponent instead of the actual size in bytes. The only valid value on SS is 9 which denotes 512 bytes. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Felipe Balbi <balbi@ti.com>