]> git.baikalelectronics.ru Git - uboot.git/commit
usb: xhci: Implement update_hub_device() operation
authorBin Meng <bmeng.cn@gmail.com>
Wed, 19 Jul 2017 13:51:19 +0000 (21:51 +0800)
committerMarek Vasut <marex@denx.de>
Fri, 28 Jul 2017 21:34:36 +0000 (23:34 +0200)
commit8784a4ffc399200ab272ebbeb26f42078afaa430
tree1dc1e45ec92985094792ebfc205793bd8a366b16
parentdf2d5b5bf651c3b2d532f228accc936ec5bd913f
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>
drivers/usb/host/xhci.c