Skip to content

Commit

Permalink
ACPI / CPPC: Use h/w reduced version of the PCCT structure
Browse files Browse the repository at this point in the history
CPPC is enabled only on platforms which support the h/w reduced
ACPI specification, so use the h/w reduced version of the PCCT
consistently when deferencing PCCT contents.

Fixes: 337aadf (ACPI: Introduce CPU performance controls using CPPC)
Signed-off-by: Ashwin Chaugule <ashwin.chaugule@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
  • Loading branch information
Ashwin Chaugule authored and Rafael J. Wysocki committed Nov 13, 2015
1 parent efb2d3b commit d29d673
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/acpi/cppc_acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ EXPORT_SYMBOL_GPL(acpi_get_psd_map);

static int register_pcc_channel(unsigned pcc_subspace_idx)
{
struct acpi_pcct_subspace *cppc_ss;
struct acpi_pcct_hw_reduced *cppc_ss;
unsigned int len;

if (pcc_subspace_idx >= 0) {
Expand Down

0 comments on commit d29d673

Please sign in to comment.