summaryrefslogtreecommitdiff
path: root/chip/lm4/pwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/lm4/pwm.c')
-rw-r--r--chip/lm4/pwm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/chip/lm4/pwm.c b/chip/lm4/pwm.c
index 043a8b556c..431f04036f 100644
--- a/chip/lm4/pwm.c
+++ b/chip/lm4/pwm.c
@@ -205,7 +205,7 @@ static int command_fan_set(int argc, char **argv)
#ifdef CONFIG_TASK_THERMAL
/* Disable thermal engine automatic fan control. */
- thermal_toggle_auto_fan_ctrl(0);
+ thermal_control_fan(0);
#endif
return pwm_set_fan_target_rpm(rpm);
@@ -236,7 +236,7 @@ int pwm_set_fan_duty(int percent)
#ifdef CONFIG_TASK_THERMAL
/* Disable thermal engine automatic fan control. */
- thermal_toggle_auto_fan_ctrl(0);
+ thermal_control_fan(0);
#endif
/* Set the duty cycle */