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

Skip to content
Commit a719e0fe authored by Maulik Shah's avatar Maulik Shah
Browse files

drivers: cpuidle: lpm-levels: Move local_irq_enable



Cancelling histtimer after enabling local irqs can cause
low sleep length to get calculated during next low power mode
entry.

Enable local irqs after cancelling histtimer.
Use hrtimer_get_remaining before cancelling timer.

Change-Id: I735770f779c5760acc6b62cb65811b21244d0e99
Signed-off-by: default avatarMaulik Shah <mkshah@codeaurora.org>
parent 3c599c7a
Loading
Loading
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