diff options
author | Zhang Rui <rui.zhang@intel.com> | 2014-01-24 10:23:19 +0800 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2014-03-03 23:15:57 +0800 |
commit | f2234bcd03ad031225d7dc37dd18852a2f2ff2bf (patch) | |
tree | 1c23fe1e13aeeedfd5ff446150e947a9732fefc2 /ipc/util.h | |
parent | 5ca0cce5622bf476e3e6bf627fe8e9381d6ae174 (diff) | |
download | linux-f2234bcd03ad031225d7dc37dd18852a2f2ff2bf.tar.bz2 |
Thermal: thermal zone governor fix
This patch does a cleanup about the thermal zone govenor,
setting and make the following rule.
1. For thermal zone devices that are registered w/o tz->tzp,
they can use the default thermal governor only.
2. For thermal zone devices w/ governor name specified in
tz->tzp->governor_name, we will use the default govenor
if the governor specified is not available at the moment,
and update tz->governor when the matched governor is registered.
This also fixes a problem that OF registered thermal zones
are running with no governor.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Acked-by: Javi Merino <javi.merino@arm.com>
Diffstat (limited to 'ipc/util.h')
0 files changed, 0 insertions, 0 deletions