aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-11-28 23:50:40 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-12-02 09:23:23 +0100
commit024aa8732acb7d2503eae43c3fe3504d0a8646d0 (patch)
treec892be7d056673104835d129d78eaec769865180 /arch/sh/kernel
parentACPI: EC: Rework flushing of pending work (diff)
downloadlinux-dev-024aa8732acb7d2503eae43c3fe3504d0a8646d0.tar.xz
linux-dev-024aa8732acb7d2503eae43c3fe3504d0a8646d0.zip
ACPI: PM: s2idle: Rework ACPI events synchronization
Note that the EC GPE processing need not be synchronized in acpi_s2idle_wake() after invoking acpi_ec_dispatch_gpe(), because that function checks the GPE status and dispatches its handler if need be and the SCI action handler is not going to run anyway at that point. Moreover, it is better to drain all of the pending ACPI events before restoring the working-state configuration of GPEs in acpi_s2idle_restore(), because those events are likely to be related to system wakeup, in which case they will not be relevant going forward. Rework the code to take these observations into account. Tested-by: Kenneth R. Crudup <kenny@panix.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'arch/sh/kernel')
0 files changed, 0 insertions, 0 deletions