summaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorRafael J. Wysocki2014-12-01 23:51:13 +0100
committerRafael J. Wysocki2014-12-01 23:51:13 +0100
commitc52fa70c79acbb1d4868fee244a638d6ee6f5aab (patch)
tree9e67a8220b3eec6a1fae5c2145475dea7fb4f42b /drivers/iio
parentMerge branch 'acpica' into acpi-pm (diff)
downloadkernel-qcow2-linux-c52fa70c79acbb1d4868fee244a638d6ee6f5aab.tar.gz
kernel-qcow2-linux-c52fa70c79acbb1d4868fee244a638d6ee6f5aab.tar.xz
kernel-qcow2-linux-c52fa70c79acbb1d4868fee244a638d6ee6f5aab.zip
ACPI / sleep: Drain outstanding events after disabling multiple GPEs
After multiple GPEs have been disabled at the low level in one go, like when acpi_disable_all_gpes() is called, we should always drain all of the outstanding events from them, or interesting races become possible. For this reason, call acpi_os_wait_events_complete() after acpi_enable_all_wakeup_gpes() and acpi_disable_all_gpes() in acpi_freeze_prepare() and acpi_power_off_prepare(), respectively. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/iio')
0 files changed, 0 insertions, 0 deletions