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

Skip to content
Commit 92a198b6 authored by Manaf Meethalavalappu Pallikunhi's avatar Manaf Meethalavalappu Pallikunhi Committed by Gerrit - the friendly Code Review server
Browse files

drivers: cpu_cooling: vote thermal limit on CPUFREQ_INCOMPATIBLE event



The cpu cooling device request thermal frequency limit on
CPUFREQ_ADJUST event notification from cpu freq driver. But
other clients also using same event to their frequency vote.
There is a possible case where thermal vote its limit and later
other client overrides this request. To avoid this, listen for
new CPUFREQ_INCOMPATIBLE event from cpu freq policy notifier
and request thermal limit on this event. It makes sure that
for any policy update thermal vote will be last one and
nobody can override it.

Change-Id: I05b69c079da2b06d2ac61b0631ca387dcda26566
Signed-off-by: default avatarManaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
parent ebe85169
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