u-boot/drivers/usb
Troy Kisky 43880ce5be usb: gadget: ether set wMaxPacketSize
set wMaxPacketSize for full speed descriptors
fs_source_desc, fs_sink_desc to 64.

Full-speed bulk endpoint can have a maximum packet size of
8, 16, 32, or 64 bytes, so choice 64.

The hs_source_desc, hs_sink_desc, already have their wMaxPacketSize
set to 512. That is the only legal value for high speed bulk endpoints.

Strictly speaking, this patch is not needed because
usb_ep_autoconfig will call ep_matches which will
override wMaxPacketSize for BULK endpoints only with
the size associated with the endpoint setup by the udc driver.
But if you want to rely on this, you may as well combine the
full speed descriptor with the high speed descriptor to
minimize confusion.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
2013-10-20 23:42:39 +02:00
..
eth net: smsc95xx: Add support for another SMSC95xx variant 2013-08-19 12:34:18 -05:00
gadget usb: gadget: ether set wMaxPacketSize 2013-10-20 23:42:39 +02:00
host OMAP5: USB: Add OMAP xHCI file and header 2013-10-20 23:42:39 +02:00
musb usb: Prevent using reserved registers on DM36x usb 2013-10-10 07:58:00 -04:00
musb-new Coding Style cleanup: remove trailing empty lines 2013-10-14 16:06:54 -04:00
phy Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
ulpi Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00