projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65df784
)
Revert "ACPI: don't enable control method power button as wakeup device when Fixed...
author
Len Brown
<len.brown@intel.com>
Wed, 26 Nov 2008 22:55:15 +0000
(17:55 -0500)
committer
Len Brown
<len.brown@intel.com>
Wed, 26 Nov 2008 22:55:15 +0000
(17:55 -0500)
This reverts commit
faee816b1502385dc9bc5abf2960d1cc645844d1
.
http://bugzilla.kernel.org/show_bug.cgi?id=12091
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/scan.c
patch
|
blob
|
history
diff --git
a/drivers/acpi/scan.c
b/drivers/acpi/scan.c
index bd5253ee5c858de0af62f409590fee76e80429c7..39b7233c348592670ef86b1df5747f3d90151dc9 100644
(file)
--- a/
drivers/acpi/scan.c
+++ b/
drivers/acpi/scan.c
@@
-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;