Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
thermal: cpufreq_cooling: Check the policy first in cpufreq_cooling_r…
…egister() [ Upstream commit cff8952 ] Since the policy needs to be accessed first when obtaining cpu devices, first check whether the policy is legal before this. Fixes: 5130802 ("thermal: cpu_cooling: Switch to QoS requests for freq limits") Signed-off-by: Xuewen Yan <xuewen.yan@unisoc.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information