Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 127347
b: refs/heads/master
c: e0fa3b4
h: refs/heads/master
i:
  127345: ae6d065
  127343: 10e807a
v: v3
  • Loading branch information
Taku Izumi authored and Jesse Barnes committed Jan 7, 2009
1 parent 07c4952 commit e757a28
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 753e3aca735dc446f66d501b625122661738b57d
refs/heads/master: e0fa3b43df0b57967857b2c83bad9a5193fbddf5
4 changes: 4 additions & 0 deletions trunk/drivers/pci/pci-acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,10 @@ acpi_status pci_osc_control_set(acpi_handle handle, u32 flags)
goto out;
}

/* No need to evaluate _OSC if the control was already granted. */
if ((osc_data->control_set & ctrlset) == ctrlset)
goto out;

if (!osc_data->is_queried) {
status = __acpi_query_osc(osc_data->support_set, osc_data);
if (ACPI_FAILURE(status))
Expand Down

0 comments on commit e757a28

Please sign in to comment.