summaryrefslogtreecommitdiff
path: root/common/usb_hub.c
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2017-09-18 06:40:42 -0700
committerMarek Vasut <marex@denx.de>2017-10-01 16:32:53 +0200
commitc008faa77358bb5b313696dd1d5bb8afa03a6ca2 (patch)
tree62efde4e77541998271467d6448a29781de6ff6f /common/usb_hub.c
parent1897d60130976ece389d5875187b78ba0d41428f (diff)
usb: Only get 64 bytes device descriptor for full speed devices
Full speed device endpoint 0 can have 8/16/32/64 bMaxPacketSize0. Other speed devices report fixed value per USB spec. So it only makes sense if we send a get device descriptor with 64 bytes to full speed devices. While we are here, update the comment block to be within 80 cols. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'common/usb_hub.c')
0 files changed, 0 insertions, 0 deletions