]> git.baikalelectronics.ru Git - kernel.git/commit
ACPICA: Introduce acpi_any_gpe_status_set()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 11 Feb 2020 16:52:32 +0000 (17:52 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 11 Feb 2020 22:26:15 +0000 (23:26 +0100)
commit243d9b274cb9b7061b5753bee22f91e8445a07e8
tree45997758f4bd1eda7f0eb1dc6c4da03f586ff394
parent234aee2ded88c7de4da4dda4ae40fa5121ca349a
ACPICA: Introduce acpi_any_gpe_status_set()

Introduce a new helper function, acpi_any_gpe_status_set(), for
checking the status bits of all enabled GPEs in one go.

It is needed to distinguish spurious SCIs from genuine ones when
deciding whether or not to wake up the system from suspend-to-idle.

Cc: 5.4+ <stable@vger.kernel.org> # 5.4+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/achware.h
drivers/acpi/acpica/evxfgpe.c
drivers/acpi/acpica/hwgpe.c
include/acpi/acpixf.h