]> git.baikalelectronics.ru Git - uboot.git/commit
usb: xhci: Don't assume LS/FS devices are always behind a HS hub
authorBin Meng <bmeng.cn@gmail.com>
Mon, 18 Sep 2017 13:40:39 +0000 (06:40 -0700)
committerMarek Vasut <marex@denx.de>
Sun, 1 Oct 2017 14:32:52 +0000 (16:32 +0200)
commit7dc24381e4aa162c347c5ebc0fb8e33eecc7b905
treebb0d2d593d27022758b387515b893bae6fe8854d
parent45aaf8bc3167329dd8b5ff2646c3ca3f1f287583
usb: xhci: Don't assume LS/FS devices are always behind a HS hub

At present xHCI driver assumes LS/FS devices are attached directly
to a HS hub. If they are connected to a LS/FS hub, the driver will
fail to perform the USB enumeration process on such devices.

This is fixed by looking from the device itself all the way up to
the HS hub where the TT that serves the device is located.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
drivers/usb/host/xhci-mem.c