lkml.org 
[lkml]   [2015]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3][v2] Fix thermal problems during suspend/bootup
Date
This patch set fixes two problems when system is trying to
suspend and boot up:
1.After system is woken up from suspend, the thermal framework uses
the dirty 'cached' thermal variables before suspend, which might
cause expected behavior.
2.If a cooling device is registered after the thermal zone's registration,
current thermal framework forgets to update the thermal_zone's status,
which might bring expected behavior under special cases.

Chen Yu (3):
Thermal: initialize thermal zone device correctly
Thermal: handle thermal zone device properly during system sleep
Thermal: do thermal zone update after a cooling device registered

drivers/thermal/step_wise.c | 17 +++++++--
drivers/thermal/thermal_core.c | 78 +++++++++++++++++++++++++++++++++++++++---
drivers/thermal/thermal_core.h | 1 +
include/linux/thermal.h | 4 +++
4 files changed, 94 insertions(+), 6 deletions(-)

--
1.8.4.2



\
 
 \ /
  Last update: 2015-10-26 04:41    [W:0.062 / U:1.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site