mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
Merge "xhci-plat: Mark usb1 and usb2 devices as wakeup source"
This commit is contained in:
commit
dab6ee24ea
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue