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

BruceYang 13738176232 at 163.com
Tue Jun 30 15:25:18 CEST 2026


New patch as attachment, thank you.











At 2026-06-30 05:49:45, "Marek Vasut" <marek.vasut at mailbox.org> wrote:
>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 !
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-fix-bNbrPorts-wHubCharacteristics-overWritten-by-another-controller_v2.patch
Type: application/octet-stream
Size: 2593 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20260630/17aecdd9/attachment.obj>


More information about the U-Boot mailing list