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

Commit 2c76c27d authored by Manaf Meethalavalappu Pallikunhi's avatar Manaf Meethalavalappu Pallikunhi
Browse files

drivers: thermal: cpu-cooling: Fix random cpu frequency min request



cpu cooling assumes last frequency level in frequency table is zero
and it initializes that value as default floor frequency request.
But max frequency level index is used for core isolation and it is
not initialized with any value. It leads to a case where random
value is set as default floor request.

Initialize cpu frequency max level frequency as zero to avoid above
scenario.

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