diff options
author | Javi Merino <javi.merino@arm.com> | 2015-09-14 15:23:53 +0200 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2015-09-14 16:43:15 +0200 |
commit | f5cbb182586ea36c6ad0e90e3534d18a5e9af094 (patch) | |
tree | e33fc9efce7e776c23fcd685d9a3942d182c5c65 /REPORTING-BUGS | |
parent | thermal: power_allocator: relax the requirement of two passive trip points (diff) | |
download | linux-f5cbb182586ea36c6ad0e90e3534d18a5e9af094.tar.xz linux-f5cbb182586ea36c6ad0e90e3534d18a5e9af094.zip |
thermal: power_allocator: don't require tzp to be present for the thermal zone
Thermal zones created using thermal_zone_device_create() may not have
tzp. As the governor gets its parameters from there, allocate it while
the governor is bound to the thermal zone so that it can operate in it.
In this case, tzp is freed when the thermal zone switches to another
governor.
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Eduardo Valentin <edubezval@gmail.com>
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Javi Merino <javi.merino@arm.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions