Message ID | 8AC53C0500C2C839+20250104154353.93075-1-wangyuli@uniontech.com |
---|---|
State | New |
Headers | show |
Series | usb: host: xhci-plat: Assign shared_hcd->rsrc_start | expand |
diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c index e6c9006bd568..56a65ddb7e4c 100644 --- a/drivers/usb/host/xhci-plat.c +++ b/drivers/usb/host/xhci-plat.c @@ -328,6 +328,9 @@ int xhci_plat_probe(struct platform_device *pdev, struct device *sysdev, const s if (usb3_hcd && HCC_MAX_PSA(xhci->hcc_params) >= 4) usb3_hcd->can_do_streams = 1; + xhci->shared_hcd->rsrc_start = hcd->rsrc_start; + xhci->shared_hcd->rsrc_len = hcd->rsrc_len; + if (xhci->shared_hcd) { ret = usb_add_hcd(xhci->shared_hcd, irq, IRQF_SHARED); if (ret)