]> git.baikalelectronics.ru Git - uboot.git/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)
commit1bedb2f55a5094cd4ed58cfe1dad6b992a642891
tree7d8b2b0891350bc108cecfdd8f4369312100ed63
parentf08c42dc8946ee656d43226897bb40bf1dc31f19
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