Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 201297
b: refs/heads/master
c: 47f8bcf
h: refs/heads/master
i:
  201295: 8d6a800
v: v3
  • Loading branch information
Matthew Garrett authored and Dave Jones committed Jul 26, 2010
1 parent 7eae8f7 commit 7d5d774
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6f90388ac98e8cb2c63e307ffb13871a6b87f29b
refs/heads/master: 47f8bcf362410b631a4d99ff5c79ec6b9dd3ace6
6 changes: 5 additions & 1 deletion trunk/arch/x86/kernel/cpu/cpufreq/pcc-cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -397,13 +397,17 @@ static int __init pcc_cpufreq_probe(void)
struct pcc_memory_resource *mem_resource;
struct pcc_register_resource *reg_resource;
union acpi_object *out_obj, *member;
acpi_handle handle, osc_handle;
acpi_handle handle, osc_handle, pcch_handle;
int ret = 0;

status = acpi_get_handle(NULL, "\\_SB", &handle);
if (ACPI_FAILURE(status))
return -ENODEV;

status = acpi_get_handle(handle, "PCCH", &pcch_handle);
if (ACPI_FAILURE(status))
return -ENODEV;

status = acpi_get_handle(handle, "_OSC", &osc_handle);
if (ACPI_SUCCESS(status)) {
ret = pcc_cpufreq_do_osc(&osc_handle);
Expand Down

0 comments on commit 7d5d774

Please sign in to comment.