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

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

Merge "USB: phy-msm-usb: Don't enable usb irqs wakeup capability during disconnect"

parents 59f50416 973c70d3
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -1437,8 +1437,10 @@ phcd_retry:
	}

	if (device_may_wakeup(phy->dev)) {
		if (host_bus_suspend || device_bus_suspend) {
			enable_irq_wake(motg->async_irq);
			enable_irq_wake(motg->irq);
		}

		if (motg->phy_irq)
			enable_irq_wake(motg->phy_irq);
@@ -1637,8 +1639,10 @@ skip_phy_resume:
	}

	if (device_may_wakeup(phy->dev)) {
		if (motg->host_bus_suspend || motg->device_bus_suspend) {
			disable_irq_wake(motg->async_irq);
			disable_irq_wake(motg->irq);
		}

		if (motg->phy_irq)
			disable_irq_wake(motg->phy_irq);