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

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

Merge "xhci-plat: Mark usb1 and usb2 devices as wakeup source"

parents 2e914316 7297267e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -330,6 +330,8 @@ static int xhci_plat_probe(struct platform_device *pdev)
		goto dealloc_usb2_hcd;

	device_enable_async_suspend(&pdev->dev);
	device_wakeup_enable(&xhci->shared_hcd->self.root_hub->dev);
	device_wakeup_enable(&hcd->self.root_hub->dev);

	pm_runtime_mark_last_busy(&pdev->dev);
	pm_runtime_put_autosuspend(&pdev->dev);