commit | 7859e404ae73fe4f38b8cfc1af19ea82f153084e | [log] [tgz] |
---|---|---|
author | John Stultz <john.stultz@linaro.org> | Fri Feb 22 12:33:29 2013 -0800 |
committer | John Stultz <john.stultz@linaro.org> | Fri Mar 15 16:50:20 2013 -0700 |
tree | 444947336576e1b01dd891273865ba8ec5b2ad5f | |
parent | c30bd09915ea243603d7803d53de890c4a6f1474 [diff] |
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: John Stultz <john.stultz@linaro.org>