Revert "ACPICA: Clear status of GPEs before enabling them"
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 30 Apr 2019 09:18:21 +0000 (11:18 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 30 Apr 2019 18:03:44 +0000 (20:03 +0200)
commit2c2a2fb1e2a9256714338875bede6b7cbd4b9542
tree67a13365047acc48800b34c95e2fb068c28e9585
parent37624b58542fb9f2d9a70e6ea006ef8a5f66c30b
Revert "ACPICA: Clear status of GPEs before enabling them"

Revert commit c8b1917c8987 ("ACPICA: Clear status of GPEs before
enabling them") that causes problems with Thunderbolt controllers
to occur if a dock device is connected at init time (the xhci_hcd
and thunderbolt modules crash which prevents peripherals connected
through them from working).

Commit c8b1917c8987 effectively causes commit ecc1165b8b74 ("ACPICA:
Dispatch active GPEs at init time") to get undone, so the problem
addressed by commit ecc1165b8b74 appears again as a result of it.

Fixes: c8b1917c8987 ("ACPICA: Clear status of GPEs before enabling them")
Link: https://lore.kernel.org/lkml/s5hy33siofw.wl-tiwai@suse.de/T/#u
Link: https://bugzilla.opensuse.org/show_bug.cgi?id=1132943
Reported-by: Michael Hirmke <opensuse@mike.franken.de>
Reported-by: Takashi Iwai <tiwai@suse.de>
Cc: 4.17+ <stable@vger.kernel.org> # 4.17+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/evgpe.c