]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ACPI / CPPC: Check for valid PCC subspace only if PCC is used
authorPrashanth Prakash <pprakash@codeaurora.org>
Wed, 4 Apr 2018 18:14:51 +0000 (12:14 -0600)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 24 Apr 2018 10:33:28 +0000 (12:33 +0200)
commit6fa12d584dcba18f67425ce17e9317311a624f81
treedeeea62992f02ba49125e04a198e136c9c487122
parent4773e77cdc9b3af93ee1ae7bcf2acf94fde17166
ACPI / CPPC: Check for valid PCC subspace only if PCC is used

Changes the behavior where we return error if there are no valid PCC
subspace for a given performance domain.

The ACPI spec does not mandate the use PCC, so it is possible to have
platforms where a PCC subspace may not be present, so we need to check
for a valid PCC subspace ID only if the register is a PCC register.

Signed-off-by: Prashanth Prakash <pprakash@codeaurora.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/cppc_acpi.c