Skip to content
Snippets Groups Projects
Commit b83dc73e authored by Simon Dubray's avatar Simon Dubray Committed by Bertolin, PierreX
Browse files

alarmtimer: prevent suspend instead of aborting

If there is an alarm firing in the next 2s, alarmtimer makes suspend
abort with a pm_wakeup_event until the next alarm. Add a new workqueue
to detect that such scenario will happen and call pm_wakeup_event at
this time to be more power friendly.

Change-Id: I443589c346bd30387fc4994a9e2a26a534d4f9d5
Tracked-On: https://jira01.devtools.intel.com/browse/AW-6148


Signed-off-by: default avatarSimon Dubray <simonx.dubray@intel.com>
Reviewed-on: https://android.intel.com/592013


Reviewed-by: default avatarChaumette, HubertX <hubertx.chaumette@intel.com>
Reviewed-by: default avatarTasayco Loarte, VictorX <victorx.tasayco.loarte@intel.com>
parent 3fb33cd9
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment