git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c30bd09
)
timekeeping: Use inject_offset in warp_clock
author
John Stultz
<john.stultz@linaro.org>
Fri, 22 Feb 2013 20:33:29 +0000
(12:33 -0800)
committer
John Stultz
<john.stultz@linaro.org>
Fri, 15 Mar 2013 23:50:20 +0000
(16:50 -0700)
When warping the clock (from a local time RTC), use
timekeeping_inject_offset() to atomically add the offset.
This avoids any minor time error caused by the delay between
reading the time, and then setting the adjusted time.
Signed-off-by: John Stultz <john.stultz@linaro.org>
No differences found