Skip to content
Commit d876dfbb authored by Thomas Renninger's avatar Thomas Renninger Committed by Len Brown
Browse files

acpi-cpufreq: Do not let get_measured perf depend on internal variable



Take already available policy->cpuinfo.max_freq and get rid of acpi-cpufreq
specific max_freq variable.

This implies that P0 is always the highest frequency which should always
be true as ACPI spec says:
As a result, the zeroth entry describes the highest performance state

Signed-off-by: default avatarThomas Renninger <trenn@suse.de>
Acked-by: default avatarVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent d91758f5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment