Skip to content
Snippets Groups Projects
Commit 718156ad authored by Roger Quadros's avatar Roger Quadros Committed by Marek Vasut
Browse files

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: default avatarRoger Quadros <rogerq@ti.com>
Tested-by: default avatarSteve Rae <srae@broadcom.com>
Tested-by: Steve Rae <srae@broadcom.com> [Test HW: bcm235xx board]
parent f3a87f5b
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment