drivers: cpuidle: lpm-levels: Reset suspend wake time
During suspend alarm timer sends next wakeup time to be programmed. Currently next wakeup time is not reset upon wakeup. This causes unintended wakeups if there is no alarm set during next suspend. Reset suspend wake time during exit from suspend. Change-Id: Ia0e5d08a4e5cdc71f6c2d884363b830de5ef88d5 Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
This commit is contained in:
parent
fbd35805c8
commit
ccb2777821
1 changed files with 3 additions and 0 deletions
|
@ -1340,6 +1340,9 @@ static void cluster_unprepare(struct lpm_cluster *cluster,
|
|||
|
||||
lpm_wa_cx_unvote_send();
|
||||
msm_mpm_exit_sleep(from_idle);
|
||||
|
||||
if (!from_idle)
|
||||
suspend_wake_time = 0;
|
||||
}
|
||||
|
||||
update_debug_pc_event(CLUSTER_EXIT, cluster->last_level,
|
||||
|
|
Loading…
Add table
Reference in a new issue