diff options
author | Lee Jones <lee.jones@linaro.org> | 2013-02-13 15:15:03 +0000 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2013-03-07 12:35:49 +0800 |
commit | 257107ae6b9ba1f3822a8b079acef57a752dcc4c (patch) | |
tree | aca50a28bc02d02d85cf705293148732993be8a4 /lib/decompress_unlzo.c | |
parent | eaded808c9f9f36d95b5b7fe195ab1839e9e486c (diff) | |
download | blackbird-op-linux-257107ae6b9ba1f3822a8b079acef57a752dcc4c.tar.gz blackbird-op-linux-257107ae6b9ba1f3822a8b079acef57a752dcc4c.zip |
ab8500-chargalg: Use hrtimer
Timers used for charging safety and maintenance must work even when
CPU power has collapsed. By using hrtimers with the realtime clock
the system is able to trigger an alarm that wakes-up the CPU and makes
it possible to handle events.
Allow a little slack time of 5 minutes for the hrtimers to allow CPU
to be woken-up in a more optimal power saving way. A 5 minute delay
to time-out timers relative to hours does not impact on safety.
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'lib/decompress_unlzo.c')
0 files changed, 0 insertions, 0 deletions