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)
commit4f774c4a65bf3987d1a95c966e884f38c8a942af
tree6a87fa836c2e0faee8c2b0282f81a728d7175aab
parente783362eb54cd99b2cac8b3a9aeac942e6f6ac07
cpufreq: Reintroduce ready() callback

This effectively revert '4bf8e582119e ("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