Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6eebbaf2 authored by Ram Chandrasekar's avatar Ram Chandrasekar Committed by Jonathan Avila
Browse files

qcom-cpufreq: Register cooling device in ready callback



Thermal cooling device has to be registered when the policy for a CPU is
ready. Cpufreq will get a callback when a cpufreq policy is ready and
register CPU cooling device as a part of this callback, so that the CPU
can be mitigated immediately if needed.

Ignore cpu cooling device registration when there is platform cooling
device available.

Change-Id: I7cfb8598aa8ead4091a617da3faddf86ff0fe6a8
Signed-off-by: default avatarRam Chandrasekar <rkumbako@codeaurora.org>
Signed-off-by: default avatarManaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
[avilaj@codeaurora.org: Modify to support 4.19 API changes]
Signed-off-by: default avatarJonathan Avila <avilaj@codeaurora.org>
parent 96871e06
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment