diff options
Diffstat (limited to 'common/thermal.c')
-rw-r--r-- | common/thermal.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/common/thermal.c b/common/thermal.c index 92b6e170ab..c7840065de 100644 --- a/common/thermal.c +++ b/common/thermal.c @@ -155,8 +155,13 @@ static void thermal_control(void) } #ifdef CONFIG_FANS - /* Max fan needed is what's needed. */ - fan_set_percent_needed(fmax); + /* TODO(crosbug.com/p/23797): For now, we just treat all fans the + * same. It would be better if we could assign different thermal + * profiles to each fan - in case one fan cools the CPU while another + * cools the radios or battery. + */ + for (i = 0; i < CONFIG_FANS; i++) + fan_set_percent_needed(i, fmax); #endif } |