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

Commit 6dfe0a00 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

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

parents e289f957 629f6cd5
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -329,6 +329,8 @@ static int xhci_plat_probe(struct platform_device *pdev)
	if (ret)
	if (ret)
		goto disable_usb_phy;
		goto disable_usb_phy;


	device_wakeup_enable(&hcd->self.root_hub->dev);

	if (HCC_MAX_PSA(xhci->hcc_params) >= 4)
	if (HCC_MAX_PSA(xhci->hcc_params) >= 4)
		xhci->shared_hcd->can_do_streams = 1;
		xhci->shared_hcd->can_do_streams = 1;


@@ -336,6 +338,8 @@ static int xhci_plat_probe(struct platform_device *pdev)
	if (ret)
	if (ret)
		goto dealloc_usb2_hcd;
		goto dealloc_usb2_hcd;


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

	/* override imod interval if specified */
	/* override imod interval if specified */
	if (imod) {
	if (imod) {
		imod &= ER_IRQ_INTERVAL_MASK;
		imod &= ER_IRQ_INTERVAL_MASK;