summaryrefslogtreecommitdiff
path: root/chip
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@chromium.org>2014-01-08 14:16:52 -0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-01-10 00:12:01 +0000
commit24b39823b5bb3e207e1060fc684a3dec0f8d91c1 (patch)
treead63db111f3629e308d3e2d6a596f668fbbb409b /chip
parent94172eba44f741204566cd6548f625169f11c589 (diff)
downloadchrome-ec-24b39823b5bb3e207e1060fc684a3dec0f8d91c1.tar.gz
thermal: dptf: Don't clear threshold condition on set
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>
Diffstat (limited to 'chip')
0 files changed, 0 insertions, 0 deletions