aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/utils.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2014-12-12 21:51:58 +0000
committerRafael J. Wysocki <[email protected]>2014-12-12 21:51:58 +0000
commit175f8e2650f7ca6b33d338be3ccc1c00e89594ea (patch)
tree7a81830a3fd4a2da4db45d2dd791493a2ac6d5de /drivers/acpi/utils.c
parentACPI / sleep: Drain outstanding events after disabling multiple GPEs (diff)
downloadkernel-175f8e2650f7ca6b33d338be3ccc1c00e89594ea.tar.gz
kernel-175f8e2650f7ca6b33d338be3ccc1c00e89594ea.zip
ACPI / PM: Do not disable wakeup GPEs that have not been enabled
In some cases acpi_device_wakeup() may be called to ensure wakeup power to be off for a given device even though that device's wakeup GPE has not been enabled so far. It calls acpi_disable_gpe() on a GPE that's not enabled and this causes ACPICA to return the AE_LIMIT status code from that call which then is reported as an error by the ACPICA's debug facilities (if enabled). This may lead to a fair amount of confusion, so introduce a new ACPI device wakeup flag to store the wakeup GPE status and avoid disabling wakeup GPEs that have not been enabled. Reported-and-tested-by: Venkat Raghavulu <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/acpi/utils.c')
0 files changed, 0 insertions, 0 deletions