thermal: cpu_cooling: Remove cpu_dev update on policy CPU update
authorKapileshwar Singh <kapileshwar.singh@arm.com>
Mon, 16 Mar 2015 12:00:50 +0000 (12:00 +0000)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 5 May 2015 04:27:54 +0000 (21:27 -0700)
commit54b92aae834ce8d02d6092f8ae5eb1fe0d607f1e
treea4080732551232952a85bca9731c8cfed6e2b196
parent9f38271c6f82a577d9fdab27aaf2e1c55ae5cf73
thermal: cpu_cooling: Remove cpu_dev update on policy CPU update

It was initially understood that an update to the cpu_device
(cached in cpufreq_cooling_device) was required to ascertain the
correct operating point of the device on a cpufreq policy->cpu update
or creation or deletion of a cpufreq policy.
(e.g. when the existing policy CPU goes offline).

This update is not required and it is possible to ascertain the OPPs
from the leading CPU in a cpufreq domain even if the CPU is hotplugged out.

Fixes: e0128d8ab423 ("thermal: cpu_cooling: implement the power cooling device API")
Acked-by: Javi Merino <javi.merino@arm.com>
Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/cpu_cooling.c
This page took 0.02502 seconds and 5 git commands to generate.