commit | d21e8baee1be4d7381e811856bbe2035cc6d6ffd | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Mon Sep 18 06:40:43 2017 -0700 |
committer | Marek Vasut <marex@denx.de> | Sun Oct 01 16:32:53 2017 +0200 |
tree | 7d8b2b0891350bc108cecfdd8f4369312100ed63 | |
parent | ae6d0cf8ead2c5899cd26ea151c1e7daa42ea128 [diff] |
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>