linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3][v2] Fix thermal problems during suspend/bootup
@ 2015-10-26  3:12 Chen Yu
  2015-10-26  3:14 ` [PATCH 1/3][v2] Thermal: initialize thermal zone device correctly Chen Yu
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Chen Yu @ 2015-10-26  3:12 UTC (permalink / raw)
  To: rui.zhang, edubezval, javi.merino; +Cc: linux-pm, linux-kernel, Chen Yu

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-10-30  8:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-26  3:12 [PATCH 0/3][v2] Fix thermal problems during suspend/bootup Chen Yu
2015-10-26  3:14 ` [PATCH 1/3][v2] Thermal: initialize thermal zone device correctly Chen Yu
2015-10-26  3:14 ` [PATCH 2/3][v2] Thermal: handle thermal zone device properly during system sleep Chen Yu
2015-10-28 10:33   ` Javi Merino
2015-10-26  3:15 ` [PATCH 3/3][v2] Thermal: do thermal zone update after a cooling device registered Chen Yu
2015-10-28 10:39   ` Javi Merino
2015-10-30  8:21     ` Chen, Yu C

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).