commit | d228ca362b0f2aa3679866c7a40702085653233e | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Wed Jul 19 21:51:19 2017 +0800 |
committer | Marek Vasut <marex@denx.de> | Fri Jul 28 23:34:36 2017 +0200 |
tree | 1dc1e45ec92985094792ebfc205793bd8a366b16 | |
parent | 81060bb1c02abb242b73f118ce297dbe483a40f7 [diff] |
usb: xhci: Implement update_hub_device() operation There is no way to know whether the attached device is a hub or not in advance before the device's descriptor is fetched. But once we know it's a high speed hub, per the xHCI spec, we need to tell xHC it's a hub device by initializing hub-related fields in the input slot context. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>