[PATCH] usb: xhci: Fix bNbrPorts overwritten by another controller

Marek Vasut marek.vasut at mailbox.org
Mon Jun 29 09:56:37 CEST 2026


On 6/29/26 8:25 AM, m13738176232 wrote:
> For the `struct descriptor`, only the `hub` part (`bNbrPorts` and `wHubCharacteristics`) is different for each controller; the other five members (device, config, interface, endpoint,ep_companion)are identical for all XHCI root hubs.
> 
> My previous patch only fixed the dynamic reading of `bNbrPorts`, but `wHubCharacteristics` is also different for each controller and will be overridden by the last controller.
> 
> New patch as below for referrence.
Please send this as a V2 properly. Thank you !


More information about the U-Boot mailing list