summaryrefslogtreecommitdiff
path: root/common/fan.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/fan.c')
-rw-r--r--common/fan.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/common/fan.c b/common/fan.c
index 6b618575a6..29c7d508a9 100644
--- a/common/fan.c
+++ b/common/fan.c
@@ -510,11 +510,10 @@ static void pwm_fan_resume(void)
{
int fan;
for (fan = 0; fan < CONFIG_FANS; fan++) {
-#ifdef CONFIG_FAN_RPM_CUSTOM
- set_thermal_control_enabled(fan, 1);
-#else
- set_thermal_control_enabled(fan, 0);
-#endif
+ /* We don't enable or disable thermal control here.
+ * It should be already enabled by pwm_fan_init on cold boot
+ * or by pwm_fan_S3_S5 on warm reboot. If it needs
+ * to be disabled, DPTF and host command will do so. */
fan_set_rpm_target(FAN_CH(fan),
fan_percent_to_rpm(FAN_CH(fan),
CONFIG_FAN_INIT_SPEED));