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

Commit 5170c83e authored by Mahesh Sivasubramanian's avatar Mahesh Sivasubramanian Committed by Srinivas Rao L
Browse files

drivers: cpuidle: lpm-levels: Remove ktime_get from suspend path



The sleep time for suspend is accounted as a part of suspend_prepare and
suspend wake call backs. Moreover the timekeeping framework is suspended
before suspend_enter calls, which causes a warning when called from within
the suspend_enter function.

Remove ktime_get() calls from within the lpm_suspend_enter() callbacks.

Change-Id: Ifff59b5caa387c603719d42a22559da6e97fdd9e
Signed-off-by: default avatarMahesh Sivasubramanian <msivasub@codeaurora.org>
Signed-off-by: default avatarSrinivas Rao L <lsrao@codeaurora.org>
parent 7b262653
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment