Skip to content
Commit 17112237 authored by Vikram Mulukutla's avatar Vikram Mulukutla
Browse files

sched: walt: Fix thermal un-mitigation bug



do_thermal_cap attempted to optimize away unnecessary division
when multiple updates came in with 'thermal_max_freq' set to
the maximum possible frequency. However this introduced a bug
that prevented resetting capacity to the max possible value when
thermal finally allowed the maximum frequency to be set. Fix it.

Change-Id: I49b6ca55cf8226358678c6d313e130b15dc2242d
Signed-off-by: default avatarVikram Mulukutla <markivx@codeaurora.org>
parent 9c9a0530
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment