summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorVic Yang <victoryang@google.com>2012-03-14 10:07:57 +0800
committerVic Yang <victoryang@google.com>2012-03-14 15:36:20 +0800
commit7c874a582aa407fba4ad9908c861e349433adc13 (patch)
tree0a4cfa9242721d5043f95f6fd6a73dd2912d587c /common
parenta7b90e65b4d38234d3d6ff4bc546ab250f727582 (diff)
downloadchrome-ec-7c874a582aa407fba4ad9908c861e349433adc13.tar.gz
Thermal Engine: set lowest fan speed to 4000rpm
Currently temperature polling task sometimes hangs. Until we solve this problem, fan should not be turned off according to temperature readings. Signed-off-by: Vic Yang <victoryang@google.com> BUG=chrome-os-partner:8479 TEST=none Change-Id: I3892c55dd18d3533515d5537b1a877e4fc36d631
Diffstat (limited to 'common')
-rw-r--r--common/thermal.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/common/thermal.c b/common/thermal.c
index bd32f73535..650b6ca5c3 100644
--- a/common/thermal.c
+++ b/common/thermal.c
@@ -102,7 +102,13 @@ static void overheated_action(void)
else if (overheated[THRESHOLD_FAN_LO])
pwm_set_fan_target_rpm(6000);
else
- pwm_set_fan_target_rpm(0);
+ /* TODO: Currently temperature polling task sometimes
+ * hangs. So we should not turn off fan according to
+ * temperature readings. Modify this to turn off fan
+ * when we have reliable temperature readings.
+ * See crosbug.com/p/8479
+ */
+ pwm_set_fan_target_rpm(4000);
}
}