diff options
author | Duncan Laurie <dlaurie@chromium.org> | 2014-01-08 14:16:52 -0800 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-01-10 18:48:53 +0000 |
commit | 2467a1d624c6ed4ba3fb777f99a773b25f5e6773 (patch) | |
tree | 9556fa34b93c3623ac9c300f6c46385f74905c75 /common/port80.c | |
parent | 9867f8379a09d60b3df8c62c269627714e97b2ac (diff) | |
download | chrome-ec-1.6.0.tar.gz |
thermal: dptf: Don't clear threshold condition on setv1.6.0
The DPTF framework will sometimes set thresholds and not expect
to get another event if the current temperature is above both the
previous threshold and the new threshold.
When a threshold is set only initialize the over condition if the
threshold was previously disabled in order to prevent it from
firing again.
BUG=chrome-os-partner:23970
BRANCH=rambi
TEST=build and boot on rambi, start DPTF framework and observe
that when a threshold is crossed (going high) and a new threshold
is set at a lower value that it does not immediately result in a
new event.
Change-Id: I6bad956fb5a49027a5c5f9c49a6fd68a0a96d693
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/182004
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
(cherry picked from commit 24b39823b5bb3e207e1060fc684a3dec0f8d91c1)
Reviewed-on: https://chromium-review.googlesource.com/182077
Diffstat (limited to 'common/port80.c')
0 files changed, 0 insertions, 0 deletions