From 7c874a582aa407fba4ad9908c861e349433adc13 Mon Sep 17 00:00:00 2001 From: Vic Yang Date: Wed, 14 Mar 2012 10:07:57 +0800 Subject: 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 BUG=chrome-os-partner:8479 TEST=none Change-Id: I3892c55dd18d3533515d5537b1a877e4fc36d631 --- common/thermal.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'common') 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); } } -- cgit v1.2.1