msm: mpm-of: set wakeup interrupt as NO_SUSPEND
The MPM wakeup interrupt is used to wakeup the Apps processor from a system wide low power mode when the GIC isn't operational. The MPM interrupt is configured as a wakeup interrupt by calling into irq_set_irq_wake().It also needs to be configured with the IRQF_NO_SUSPEND to prevent the irq from getting disabled during suspend_device_irqs() in the suspend path. The interrupt is not re-enabled until after gic_suspend() is executed as a part of the syscore_suspend() callback. If the CPU's idle thread enters RPM assisted power collapse between suspend_device_irqs() and syscore_suspend, the masking of the RPM wakeup interrupt could prevent wakeup by RPM. CRs-fixed: 626508 Change-Id: I0d5f0d7277774ddef6817eac10156f92174ec15f Signed-off-by:Mahesh Sivasubramanian <msivasub@codeaurora.org> Signed-off-by:
Murali Nalajala <mnalajal@codeaurora.org>
Loading
Please register or sign in to comment