Skip to content
Commit 7859e404 authored by John Stultz's avatar John Stultz
Browse files

timekeeping: Use inject_offset in warp_clock



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: default avatarJohn Stultz <john.stultz@linaro.org>
parent c30bd099
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment