Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 119348
b: refs/heads/master
c: 3bdca1b
h: refs/heads/master
v: v3
  • Loading branch information
Len Brown committed Nov 26, 2008
1 parent c57fc7d commit 449acf9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 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: 65df78473ffbf3bff5e2034df1638acc4f3ddd50
refs/heads/master: 3bdca1b863c1ebcb2244fc0cb683876d7330e62b
10 changes: 0 additions & 10 deletions trunk/drivers/acpi/scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -751,16 +751,6 @@ static int acpi_bus_get_wakeup_device_flags(struct acpi_device *device)
if (!acpi_match_device_ids(device, button_device_ids))
device->wakeup.flags.run_wake = 1;

/*
* Don't set Power button GPE as run_wake
* if Fixed Power button is used
*/
if (!strcmp(device->pnp.hardware_id, "PNP0C0C") &&
!(acpi_gbl_FADT.flags & ACPI_FADT_POWER_BUTTON)) {
device->wakeup.flags.run_wake = 0;
device->wakeup.flags.valid = 0;
}

end:
if (ACPI_FAILURE(status))
device->flags.wake_capable = 0;
Expand Down

0 comments on commit 449acf9

Please sign in to comment.