summaryrefslogtreecommitdiff
path: root/common/thermal.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/thermal.c')
-rw-r--r--common/thermal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/thermal.c b/common/thermal.c
index 5db4916b8d..a7e8d0eb8c 100644
--- a/common/thermal.c
+++ b/common/thermal.c
@@ -117,10 +117,11 @@ static void overheated_action(void)
if (overheated[THRESHOLD_WARNING]) {
smi_overheated_warning();
+ gpio_set_flags(GPIO_CPU_PROCHOTn, GPIO_OUTPUT);
gpio_set_level(GPIO_CPU_PROCHOTn, 0);
}
else
- gpio_set_level(GPIO_CPU_PROCHOTn, 1);
+ gpio_set_flags(GPIO_CPU_PROCHOTn, 0);
if (fan_ctrl_on) {
int i;