Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96510
b: refs/heads/master
c: 34a6505
h: refs/heads/master
v: v3
  • Loading branch information
Kenji Kaneshige authored and Jesse Barnes committed May 13, 2008
1 parent e14ac1f commit 58d4a77
Show file tree
Hide file tree
Showing 2 changed files with 8 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: a5d1c8798309a384c2776e5ff472f8ceb6d9065d
refs/heads/master: 34a65055e5e7304b3d6ad0f7542bf66308eae50a
8 changes: 7 additions & 1 deletion trunk/drivers/pci/pci-acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,14 @@ acpi_status pci_osc_control_set(acpi_handle handle, u32 flags)
{
acpi_status status;
u32 ctrlset;
struct acpi_osc_data *osc_data = acpi_get_osc_data(handle);
acpi_handle tmp;
struct acpi_osc_data *osc_data;

status = acpi_get_handle(handle, "_OSC", &tmp);
if (ACPI_FAILURE(status))
return status;

osc_data = acpi_get_osc_data(handle);
if (!osc_data) {
printk(KERN_ERR "acpi osc data array is full\n");
return AE_ERROR;
Expand Down

0 comments on commit 58d4a77

Please sign in to comment.