]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: Reintroduce ready() callback
authorBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 28 Jan 2022 03:25:53 +0000 (19:25 -0800)
committerViresh Kumar <viresh.kumar@linaro.org>
Wed, 9 Feb 2022 07:48:49 +0000 (13:18 +0530)
commit9cc23f56ba7ef0e42c5577b8adc16ffdb62abb74
tree6a87fa836c2e0faee8c2b0282f81a728d7175aab
parent6e424e6bafec35e47db4b693fe41eff065b7dbf6
cpufreq: Reintroduce ready() callback

This effectively revert 'ed3df4a77548 ("cpufreq: Remove ready()
callback")', in order to reintroduce the ready callback.

This is needed in order to be able to leave the thermal pressure
interrupts in the Qualcomm CPUfreq driver disabled during
initialization, so that it doesn't fire while related_cpus are still 0.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
[ Viresh: Added the Chinese translation as well and updated commit msg ]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Documentation/cpu-freq/cpu-drivers.rst
Documentation/translations/zh_CN/cpu-freq/cpu-drivers.rst
drivers/cpufreq/cpufreq.c
include/linux/cpufreq.h