[PATCH v2 4/5] usb: host: xhci-plat: prepare operation w/o shared hcd

Mathias Nyman mathias.nyman at linux.intel.com
Thu Jun 9 04:38:45 PDT 2022


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



More information about the linux-amlogic mailing list