1 comment:
File payloads/libpayload/drivers/usb/generic_hub.c:
Patch Set #2, Line 222: hub_status_changed
I don't see that, xhci_pci_init() calls xhci_init() calls xhci_rh_init(). […]
xhci_pci_init() calls xhci_init() before setting controller->pcidev. Inside xhci_init() is the call to xhci->roothub->init() which is then executing before it has a valid pcidev.
I could try to fix that but currently xhci_init() allocates the structure internally so it can't be filled by the calling function until it returns.
I'm not opposed to renaming the quirk, but the current name is accurate.
To view, visit change 39839. To unsubscribe, or for help writing mail filters, visit settings.