]> git.baikalelectronics.ru Git - kernel.git/commit
ACPICA: Introduce acpi_dispatch_gpe()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 25 May 2018 08:30:35 +0000 (10:30 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 25 May 2018 08:30:35 +0000 (10:30 +0200)
commit484f158da23c3a37156531b2c6acf991f2095abc
tree8d4b9d26febb4de2832f4bc61cbb067d827bfbce
parenta8729ba2bbd4cca9ee2bbab3a1632e3ff24f5267
ACPICA: Introduce acpi_dispatch_gpe()

Introduce acpi_dispatch_gpe() as a wrapper around acpi_ev_detect_gpe()
for checking if the given GPE (as represented by a GPE device handle
and a GPE number) is currently active and dispatching it (if that's
the case) outside of interrupt context.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/evgpe.c
drivers/acpi/acpica/evxfgpe.c
include/acpi/acpixf.h