diff --git a/drivers/usb/dwc3/host.c b/drivers/usb/dwc3/host.c index d745e39e18da..fc42ff29c37a 100644 --- a/drivers/usb/dwc3/host.c +++ b/drivers/usb/dwc3/host.c @@ -46,7 +46,7 @@ out: int dwc3_host_init(struct dwc3 *dwc) { - struct property_entry props[7]; + struct property_entry props[8]; struct platform_device *xhci; int ret, irq; struct resource *res; @@ -119,6 +119,9 @@ int dwc3_host_init(struct dwc3 *dwc) if (dwc->xhci_warm_reset_on_suspend_quirk) props[prop_idx++].name = "xhci-warm-reset-on-suspend"; + if (!dwc->dis_u2_susphy_quirk) + props[prop_idx++].name = "xhci-u2-broken-suspend"; + if (prop_idx) { ret = platform_device_add_properties(xhci, props); if (ret) {