diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-09-30 00:24:38 (GMT) |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-09-30 19:04:46 (GMT) |
commit | 5a0b8deeeb19906b24a48d0078aa6b64dc0b4dab (patch) | |
tree | 12816bef99f66f52f79b46d6299fcb4786b868e1 /drivers/acpi/glue.c | |
parent | 2670e02a2deab4ea513a37a1356be5fad6e5156b (diff) | |
download | linux-5a0b8deeeb19906b24a48d0078aa6b64dc0b4dab.tar.xz |
ACPICA: Clear all non-wakeup GPEs in acpi_hw_enable_wakeup_gpe_block()
Since acpi_hw_enable_wakeup_gpe_block() is currently always called
after disabling all GPEs, it can actually write zeros to all
non-wakeup enable bits unconditionally.
That will be useful going forward for disabling runtime GPEs and
enabling wakeup GPEs in one go instead of doing that in two steps
(disable runtime and enable wakeup) which in theory may lead to a
loss of a wakeup event.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/glue.c')
0 files changed, 0 insertions, 0 deletions