diff options
author | Bill Richardson <wfrichar@chromium.org> | 2013-04-26 13:46:18 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-04-26 16:07:21 -0700 |
commit | df06f61cccd415e3d20d187b3438bd565b81c9c3 (patch) | |
tree | 727e1eaf76fac857ba74b41dfea5e1573daad457 /common/thermal.c | |
parent | 8bc24ec311d8c17cd543aa959847ad9a57438ce9 (diff) | |
download | chrome-ec-df06f61cccd415e3d20d187b3438bd565b81c9c3.tar.gz |
Split pwm.c into pwm_fan.c and pwm_kblight.c
Sadly, the existence of fans may not always imply the existence of keyboard
backlights.
BUG=chrome-os-partner:18825
BRANCH=slippy
TEST=manual
Use the Link EC console to make sure that both functions still behave.
faninfo
fanset 4400
faninfo
fanset 9999
faninfo
autofan
faninfo
fanduty 50
faninfo
fanduty 100
faninfo
autofan
kblight 0
kblight 100
kblight 50
kbligth 100
Change-Id: I2e07cd46c21bce2d0d4162275a8ea6ae40135e96
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/49355
Diffstat (limited to 'common/thermal.c')
-rw-r--r-- | common/thermal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/thermal.c b/common/thermal.c index 69b24e6d9d..00970c6081 100644 --- a/common/thermal.c +++ b/common/thermal.c @@ -87,7 +87,7 @@ void thermal_control_fan(int enable) /* If controlling the fan, need it in RPM-control mode */ if (enable) - pwm_set_rpm_mode(1); + pwm_set_fan_rpm_mode(1); } static void smi_overheated_warning(void) |