]> git.baikalelectronics.ru Git - uboot.git/commit
usb: xhci: Fix root hub descriptor
authorMark Kettenis <kettenis@openbsd.org>
Sat, 21 Jan 2023 19:28:00 +0000 (20:28 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 27 Jan 2023 19:47:58 +0000 (14:47 -0500)
commitf72e65838c5b1e0fcd93f12453e340e5cc8c5871
tree854dd767c79cd74589d1bbd762732f2a541b6954
parent65077e2230c493dcae97f90da7050568d2babaad
usb: xhci: Fix root hub descriptor

When a system has multiple XHCI controllers, some of the
properties described in the descriptor of the root hub (such as
the number of ports) might differ between controllers.  Fix this
by switching from a single global hub descriptor to a hub
descriptor per controller.

Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
Reviewed-by: Marek Vasut <marex@denx.de>
drivers/usb/host/xhci.c
include/usb/xhci.h