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

Commit df8bb4a7 authored by Chandana Kishori Chiluveru's avatar Chandana Kishori Chiluveru
Browse files

usb: ehci-msm-hsic: Enable HSIC CORE IRQ as wakeup source



HSIC core irq is required to enable as wakeup source with MPM
pin configuration to support bus supsend/resume functionality
with XO/VDD min. This change is used to enable wakeup source
for HSIC core irq.

Change-Id: I931e35b8c8233ba491afab7d604ffc6b6300ab12
Signed-off-by: default avatarChandana Kishori Chiluveru <cchiluve@codeaurora.org>
parent b2b64139
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2389,7 +2389,7 @@ static int msm_hsic_pm_suspend(struct device *dev)
		return -EBUSY;
	}

	if (device_may_wakeup(dev) && !mehci->async_irq)
	if (device_may_wakeup(dev))
		enable_irq_wake(hcd->irq);

	return 0;
@@ -2417,7 +2417,7 @@ static int msm_hsic_pm_resume(struct device *dev)
	dev_dbg(dev, "ehci-msm-hsic PM resume\n");
	dbg_log_event(NULL, "PM Resume", 0);

	if (device_may_wakeup(dev) && !mehci->async_irq)
	if (device_may_wakeup(dev))
		disable_irq_wake(hcd->irq);

	/*