]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cpufreq: cppc: Set policy->boost_supported
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 23 Jan 2025 08:40:25 +0000 (14:10 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Fri, 7 Feb 2025 04:15:15 +0000 (09:45 +0530)
commita3f48fb2e5b7db23b4bc5c699baf67c18b50ab4b
treeede477003adcb9db2fa18c4560636c78ee18e98e
parent98f39e93d102af743d173f76ca12fd5fcacbb0ea
cpufreq: cppc: Set policy->boost_supported

With a later commit, the cpufreq core will call the ->set_boost()
callback only if the policy supports boost frequency. The
boost_supported flag is set by the cpufreq core if policy->freq_table is
set and one or more boost frequencies are present.

For other drivers, the flag must be set explicitly.

With this, the local variable boost_supported isn't required anymore.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/cppc_cpufreq.c