thermal: power allocator: change the 'k_*' always in estimate_pid_constants()
authorLukasz Luba <lukasz.luba@arm.com>
Tue, 24 Nov 2020 16:10:25 +0000 (16:10 +0000)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 26 Nov 2020 16:11:59 +0000 (17:11 +0100)
commit90a996544946d1d4834ec2ec8add586edd905779
tree337f29ca23ede93277dc7507c011047cd08376b6
parenteda1ecfa772f11b68b0ddb8d1c3948451fcff5d6
thermal: power allocator: change the 'k_*' always in estimate_pid_constants()

The PID coefficients should be estimated again when there was a change to
sustainable power value made by user. This change removes unused argument
'force' and makes the function ready for such updates.

Signed-off-by: Lukasz Luba <lukasz.luba@arm.com>
Reviewed-by: Ionela Voinescu <ionela.voinescu@arm.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20201124161025.27694-4-lukasz.luba@arm.com
drivers/thermal/gov_power_allocator.c