diff options
author | Mahesh Sivasubramanian <msivasub@codeaurora.org> | 2016-04-20 14:58:45 -0600 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-09-23 00:23:29 -0700 |
commit | 95725d4dc6b801b7a4cc847b3e810cd059831e7f (patch) | |
tree | 2efa2ff6b9a32be58e3e5ab30827de6b2458d34f /.gitignore | |
parent | 9e2d528dc47d04e98c5e6f1c4ef84fc268115d36 (diff) |
drivers: cpuidle: lpm-levels: Fix wakeup time for suspend
During suspend, where there isn't a explicit timer requirement, suspend
driver adds a ~0ULL value to current timer value and passes it on to RPM as
the wakeup timer. However, RPM doesn't handle overflow of timer wakeups,
which could indicate that the master is requesting a wakeup in the past
and causes a crash.
Adding 1 to current wakeup times, sets the wakeup time to 0 for suspend
usecases. MPM maps a 0 wakeup time to ~0ULL which would be handled
correctly on the RPM side.
Change-Id: Ida24c83eb2f1ae94ad7168b6065db69da35c3ec9
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
Signed-off-by: Girish S Ghongdemath <girishsg@codeaurora.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions