diff options
author | Zhang Rui <rui.zhang@intel.com> | 2012-06-27 08:13:04 +0200 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2012-09-24 08:44:37 +0200 |
commit | ce119f83257aae29b84a5bfad0669e8348437b18 (patch) | |
tree | 82ef036b21cc958beed8a0c7def6fbe50ab3ca1b /include/net/wimax.h | |
parent | Thermal: List thermal_instance in thermal_cooling_device. (diff) | |
download | linux-ce119f83257aae29b84a5bfad0669e8348437b18.tar.xz linux-ce119f83257aae29b84a5bfad0669e8348437b18.zip |
Thermal: Introduce simple arbitrator for setting device cooling state
This fixes the problem that a cooling device may be referenced by
by multiple trip points in multiple thermal zones.
With this patch, we have two stages for updating a thermal zone,
1. check if a thermal_instance needs to be updated or not
2. update the cooling device, based on the target cooling state
of all its instances.
Note that, currently, the cooling device is set to the deepest
cooling state required.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Reviewed-by: Rafael J. Wysocki <rjw@sisk.pl>
Reviewed-by: Eduardo Valentin <eduardo.valentin@ti.com>
Diffstat (limited to 'include/net/wimax.h')
0 files changed, 0 insertions, 0 deletions