]> git.baikalelectronics.ru Git - kernel.git/commit
ACPICA: Add new GPE public interface - acpi_mark_gpe_for_wake.
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 23 Jul 2014 05:12:16 +0000 (13:12 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 23 Jul 2014 21:12:33 +0000 (23:12 +0200)
commitdb697393637d1ab4c6b58fd7fea4af95d2d68630
tree232f7df0b4d2e60fe9f9b192d2ae25cb2f859765
parent8371e58e7bc30d19d5fa1f1df5c5e51872102aa9
ACPICA: Add new GPE public interface - acpi_mark_gpe_for_wake.

ACPICA commit c49dbfed2bc069d0038ea7e1294409bfde7c2c8c

Some potential callers of acpi_setup_gpe_for_wake may know in advance that
there won't be any notify handlers installed for device wake notifications
from the given GPE (one example is a button GPE in Linux). For these cases,
acpi_mark_gpe_for_wake should be used instead of acpi_setup_gpe_for_wake.
This will set the ACPI_GPE_CAN_WAKE flag for the GPE without trying to
setup implicit wake notification for it (since there's no handler method).
Rafael Wysocki.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
drivers/acpi/acpica/evxfgpe.c
include/acpi/acpixf.h