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

Skip to content
Commit 5ee36f52 authored by Mahesh Sivasubramanian's avatar Mahesh Sivasubramanian
Browse files

msm: pm: Prevent system sleeps when suspend is in progress



The MPM driver sends a XO vote for suspend during suspend prepare
callback. If the CPU were to execute a system low power mode after
suspend, the MPM driver votes against XO shutdown based on the list of
enabled interrupts. This vote is never removed and results in the XO
vote for shutdown overridden by the idle parameters.

Fix issue by ensuring that the system doesn't enter system low power
mode when the device is preparing for suspend. This would also prevent
RPM power collapse as RPM could turn off XO based on state of the
suspend votes sent as a part of suspend_prepare.

CRs-fixed: 551806
Change-Id: I9104f28898c995f69b8c0b9124651b915e15f690
Signed-off-by: default avatarMahesh Sivasubramanian <msivasub@codeaurora.org>
parent ede485fc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment