Merge "usb: xhci: Avoid calling wakeup_enable without set_wakeup_capable"

This commit is contained in:
qctecmdr 2021-05-14 10:10:59 -07:00 • committed by Gerrit - the friendly Code Review server
commit daa038186f

View file

@ -276,7 +276,7 @@ static int xhci_plat_probe(struct platform_device *pdev)
}
if (device_may_wakeup(sysdev))
device_wakeup_enable(hcd->self.controller);
device_init_wakeup(hcd->self.controller, 1);
xhci->main_hcd = hcd;
xhci->shared_hcd = __usb_create_hcd(driver, sysdev, &pdev->dev,