]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
usb: xhci-mtk: use @tt_info to check the FS/LS device is under a HS hub
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Mon, 8 Mar 2021 02:52:00 +0000 (10:52 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Mar 2021 08:37:17 +0000 (09:37 +0100)
commit11fdcc3937b11c61aa097181c60445683150f3b3
tree9973a2eebd23ffa7177f91ee8d1c3dae15176acc
parent6009bea08ad79cc862720fc2dd1ae9f0942f41ee
usb: xhci-mtk: use @tt_info to check the FS/LS device is under a HS hub

If the LS/FS device is connected to an external HS hub, the member
@tt_info in xhci_virt_device struct in not NULL, use it to check
whether a LS/FS device is under an exernal HS hub, then no need get
the slot context of this device.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/8117df52f16bd03087e486d7d740a183b6dd634a.1615170625.git.chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-mtk-sch.c