Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
cpufreq: intel_pstate: Avoid using CPPC when ACPI CPC is not valid
If ACPI CPC is not valid, dereference cpc_desc in cppc_get_perf() causes a NULL pointer dereference. So avoid using CPPC for that scenario. Fixes: 46573fd ("cpufreq: intel_pstate: hybrid: Rework HWP calibration") Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
- Loading branch information