Merge "usb: xhci-plat: Enable wakeup for the root hubs"

This commit is contained in:
Linux Build Service Account 2016-10-31 06:59:12 -07:00 committed by Gerrit - the friendly Code Review server
commit cedaa7cef6

View file

@ -241,10 +241,14 @@ static int xhci_plat_probe(struct platform_device *pdev)
if (ret)
goto disable_usb_phy;
device_wakeup_enable(&hcd->self.root_hub->dev);
ret = usb_add_hcd(xhci->shared_hcd, irq, IRQF_SHARED | IRQF_ONESHOT);
if (ret)
goto dealloc_usb2_hcd;
device_wakeup_enable(&xhci->shared_hcd->self.root_hub->dev);
ret = device_create_file(&pdev->dev, &dev_attr_config_imod);
if (ret)
dev_err(&pdev->dev, "%s: unable to create imod sysfs entry\n",