Skip to content
Commit e1eb4779 authored by Stanislaw Gruszka's avatar Stanislaw Gruszka Committed by Len Brown
Browse files

ACPI: Avoid wiping out pr->performance during preregistering



When cpufreq driver call acpi_processor_preregister_performance() , function
will clean up pr->performance even if there is possibly already registered
other cpufreq driver. The patch fix this potential problem. It also remove
double checks in P domain basic validity code and move these checks to function
where _PSD data is captured.

Signed-off-by: default avatarStanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 8e0ee43b
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