Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 233309
b: refs/heads/master
c: 2a5d242
h: refs/heads/master
i:
  233307: d6cb193
v: v3
  • Loading branch information
Rafael J. Wysocki committed Feb 12, 2011
1 parent 6e68b03 commit 3e3030d
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: 2d55951368faa32ff098398c56780ebb6405a3d9
refs/heads/master: 2a5d24286e8bdafdc272b37ec5bdd9e977b3767c
6 changes: 5 additions & 1 deletion trunk/drivers/acpi/wakeup.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,12 @@ int __init acpi_wakeup_device_init(void)
struct acpi_device *dev = container_of(node,
struct acpi_device,
wakeup_list);
if (device_can_wakeup(&dev->dev))
if (device_can_wakeup(&dev->dev)) {
/* Button GPEs are supposed to be always enabled. */
acpi_enable_gpe(dev->wakeup.gpe_device,
dev->wakeup.gpe_number);
device_set_wakeup_enable(&dev->dev, true);
}
}
mutex_unlock(&acpi_device_lock);
return 0;
Expand Down

0 comments on commit 3e3030d

Please sign in to comment.