ACPICA: Events: Fix edge-triggered GPE by disabling before acknowledging it.
authorLv Zheng <lv.zheng@intel.com>
Sun, 15 Jun 2014 00:42:31 +0000 (08:42 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 6 Jul 2014 23:08:14 +0000 (01:08 +0200)
commit6ec5e12074b42fafec2a340d72e8d8e1fd4c5405
tree753cb7ed78e5a60d993440ac6fb5864422cb21f0
parent0a00fd5e20fd5dc89e976e163588d7c54edaf745
ACPICA: Events: Fix edge-triggered GPE by disabling before acknowledging it.

Due to ACPI specificiation 5, chapter 5.6.4 General-Purpose Event Handling,
OSPMs need to disable GPE before clearing the status bit for edge-triggered
GPEs.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Tested-by: Gareth Williams <gareth@garethwilliams.me.uk>
Tested-by: Steffen Weber <steffen.weber@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/evgpe.c