• Roger Quadros's avatar
    fastboot: Fix wMaxPacketSize for High-Speed IN endpoint · 718156ad
    Roger Quadros authored
    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: 's avatarRoger Quadros <rogerq@ti.com>
    Tested-by: 's avatarSteve Rae <srae@broadcom.com>
    Tested-by: Steve Rae <srae@broadcom.com> [Test HW: bcm235xx board]
    718156ad
Name
Last commit
Last update
Licenses Loading commit data...
api Loading commit data...
arch Loading commit data...
board Loading commit data...
cmd Loading commit data...
common Loading commit data...
configs Loading commit data...
disk Loading commit data...
doc Loading commit data...
drivers Loading commit data...
dts Loading commit data...
examples Loading commit data...
fs Loading commit data...
include Loading commit data...
lib Loading commit data...
net Loading commit data...
post Loading commit data...
scripts Loading commit data...
test Loading commit data...
tools Loading commit data...
.checkpatch.conf Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
Kbuild Loading commit data...
Kconfig Loading commit data...
MAINTAINERS Loading commit data...
MAKEALL Loading commit data...
Makefile Loading commit data...
README Loading commit data...
config.mk Loading commit data...
snapshot.commit Loading commit data...