diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-07-15 13:03:39 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-07-23 09:46:20 +0200 |
commit | 9089f16e053afc5e18feaeb9f64cc7c90d6bd687 (patch) | |
tree | 4ac8b7173fdc988e8acc4d5c268833bc398866e7 /drivers/base | |
parent | ACPICA: Return u32 from acpi_dispatch_gpe() (diff) | |
download | linux-9089f16e053afc5e18feaeb9f64cc7c90d6bd687.tar.xz linux-9089f16e053afc5e18feaeb9f64cc7c90d6bd687.zip |
ACPI: EC: Return bool from acpi_ec_dispatch_gpe()
On some systems, if suspend-to-idle is used, the EC may signal system
wakeup events (power button events, for example) as well as events
that should not cause the system to resume and acpi_ec_dispatch_gpe()
needs to be called to determine whether or not the system should
resume then. In particular, if acpi_ec_dispatch_gpe() doesn't detect
any EC events at all, the system should remain suspended, so it is
useful to know when that is the case.
For this reason, make acpi_ec_dispatch_gpe() return a bool value
indicating whether or not any EC events have been detected by it.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/base')
0 files changed, 0 insertions, 0 deletions