Commit f6349ae8 authored by Vikram Mulukutla's avatar Vikram Mulukutla
Browse files

msm: subsystem_restart: Prevent suspend from occuring during a restart



If a subsystem encounters a fatal error and communicates
this error to the applications processor just as the
application processor is about to enter a sleep mode
(in a suspend cycle), that subsystem may not be restarted
until the system resumes. To prevent this, take a
wakelock as soon as subsystem restart is requested.

For this to work, every client of subsystem restart
must ensure that they call into subsystem restart
from within the context of the interrupt that indicates
a fatal error in that subsystem.

Change-Id: I2e4ab2bc6ca45d3a7abbc8321de32ccd66ab0996
Signed-off-by: default avatarVikram Mulukutla <markivx@codeaurora.org>
parent 63c88f8d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment