mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-08 08:31:52 +00:00
9b1b0cb2fc24ebb443adb348049cf2e1fc3a1788
We were losing timer events because usecs_to_ticks(deadline) was clipping the value when deadline was larger than 0x08888888 (deadline is a timestamp rather than a delay). The computation of the timer deadline has been modified to avoid the clipping issue. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=none BUG=chrome-os-partner:34347 TEST=run on Cr50 with the watchdog activated and no longer see watchdog warnings. Run the "timer_calib" test and see that the 1s sleep is 1000038 us : make BOARD=cr50 tests fhl ../build/cr50/timer_calib/timer_calib.RO.hex Change-Id: Id2200a89eb1b72099e536291af321609b24b4777 Reviewed-on: https://chromium-review.googlesource.com/233531 Reviewed-by: Bill Richardson <wfrichar@chromium.org> Trybot-Ready: Vincent Palatin <vpalatin@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org> Commit-Queue: Vincent Palatin <vpalatin@chromium.org>
For an overview of the Embedded Controller firmware, refer to http://www.chromium.org/chromium-os/2014-firmware-summit
Description
Languages
C
64.7%
Lasso
20.7%
ASL
3.6%
JavaScript
3.2%
C#
2.9%
Other
4.6%