On 8.6.2022 23.55, Matthias Kaehlcke wrote:
Hi, with v5.19-rc1 (which includes this patch) I encounter a NULL pointer exception during system resume on a SC7280 board, which has an USB2-only HCD:
...
In the re-init path xhci_resume() passes 'hcd->primary_hcd' to hci_init(), however this field isn't initialized by __usb_create_hcd() for a HCD without secondary controller.
Thanks for debugging this, I'll write a patch for it. Can you try it out? -Mathias