Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit daa03818 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

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

parents 7cab85a0 d6aab69a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,