From: "hongbo.zhang" <hongbo.zh...@linaro.com>

This patch set contains two patches.

[PATCH 1/2]
A new interface is introduced to deactive all the referenced cooling devices
when thermal zone is disabled. Because the cooling device list is maintained
in the generic thermal layer, the thermal driver cannot walk through the list
and cannot deactive its cooling devices either.
This interface is needed in the .set_mode callback when the thermal zone mode
is set to "disabled".

[PATCH 2/2]
When a cooling device is unbound it should be deactived, otherwise cooling
device will keep active after unbinding, this isn't what we expect.

hongbo.zhang (2):
  Thermal: Add interface to deactive cooling devices.
  Thermal: Deactive cooling device when unbind it.

 drivers/thermal/thermal_sys.c | 24 ++++++++++++++++++++++++
 include/linux/thermal.h       |  1 +
 2 files changed, 25 insertions(+)

-- 
1.7.11.3


_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to