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:Simon Dubray <simonx.dubray@intel.com> Reviewed-on: https://android.intel.com/592013 Reviewed-by:
Chaumette, HubertX <hubertx.chaumette@intel.com> Reviewed-by:
Tasayco Loarte, VictorX <victorx.tasayco.loarte@intel.com>
Loading
Please register or sign in to comment