diff options
author | Roger Quadros <rogerq@ti.com> | 2016-04-12 15:51:48 +0300 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2016-04-25 17:56:30 +0200 |
commit | 718156ad0ab076f94fbfc5f2628e6b43d1f5a127 (patch) | |
tree | 5d07dc2706ee931c48f193a3fe8bc9f57b092f76 /drivers/usb/gadget/pxa25x_udc.c | |
parent | f3a87f5b79a8f1957753131b09b539027913c731 (diff) | |
download | u-boot-imx-718156ad0ab076f94fbfc5f2628e6b43d1f5a127.zip u-boot-imx-718156ad0ab076f94fbfc5f2628e6b43d1f5a127.tar.gz u-boot-imx-718156ad0ab076f94fbfc5f2628e6b43d1f5a127.tar.bz2 |
fastboot: Fix wMaxPacketSize for High-Speed IN endpoint
wMaxPacketSize for IN endpoing in High-Speed must be 512 and not 64.
While fixing that we do some clean ups like
- use cpu_to_le16(decimal_length) instead of hexadecimal length.
- No need to initialize bInterval to 0. Static variables are 0 initialized.
- Move descriptor setting from fastboot_add to to fastboot_bind.
- check for dual speed configuration before setting the high speed descriptors.
Signed-off-by: Roger Quadros <rogerq@ti.com>
Tested-by: Steve Rae <srae@broadcom.com>
Tested-by: Steve Rae <srae@broadcom.com> [Test HW: bcm235xx board]
Diffstat (limited to 'drivers/usb/gadget/pxa25x_udc.c')
0 files changed, 0 insertions, 0 deletions