mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
Merge "usb: xhci: Avoid calling wakeup_enable without set_wakeup_capable"
This commit is contained in:
commit
daa038186f
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue