]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cpufreq: acpi: Set policy->boost_supported
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 23 Jan 2025 10:00:42 +0000 (15:30 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Fri, 7 Feb 2025 04:15:15 +0000 (09:45 +0530)
commitbe6b8681a0e4c1477a2c1cb155f7b9188aa88acb
tree9e89417b5e1afd3d9216470c20e5d63694599859
parent1f7d1bab50e6ae517f8b6699e56d709d61ae13e5
cpufreq: acpi: 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.

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