]> git.sur5r.net Git - u-boot/commit
usb: Read device descriptor after device is addressed for xHCI
authorBin Meng <bmeng.cn@gmail.com>
Mon, 18 Sep 2017 13:40:43 +0000 (06:40 -0700)
committerMarek Vasut <marex@denx.de>
Sun, 1 Oct 2017 14:32:53 +0000 (16:32 +0200)
commit932bb668bb2464115f2d08abbed44e58cfce9536
tree7d8b2b0891350bc108cecfdd8f4369312100ed63
parentc008faa77358bb5b313696dd1d5bb8afa03a6ca2
usb: Read device descriptor after device is addressed for xHCI

For xHCI it is not possible to read a device descriptor before it
has been assigned an address. That's why usb_setup_descriptor()
was called with 'do_read' being false. But we really need try to
read the device descriptor before starting any real communication
with the default control endpoint.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
common/usb.c