summaryrefslogtreecommitdiff
path: root/source/components/events
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2017-09-27 16:25:52 +0800
committerLv Zheng <lv.zheng@intel.com>2017-09-27 16:25:52 +0800
commitb337fee4b04681988a23061a6f6a8da2ef4df3c5 (patch)
treec9c84aff8514fe5bc1a41f11f9ff00cfa3f5fe05 /source/components/events
parentc8673c88868bc755c9867155839f479abd42f31e (diff)
downloadacpica-b337fee4b04681988a23061a6f6a8da2ef4df3c5.tar.gz
Events: Stop unconditionally clearing ACPI IRQs during suspend/resume
Unconditionally clearing ACPI IRQs during suspend/resume can lead to unexpected IRQ losts. This patch fixes this issue by removing such IRQ clearing code. If this patch triggers regression, the regression should be in the GPE handlers that cannot correctly determine some spurious triggered events as no-ops. Please report any regression related to this commit to the ACPI component on kernel bugzilla. Lv Zheng. Link: https://bugzilla.kernel.org/show_bug.cgi?id=196249 Signed-off-by: Lv Zheng <lv.zheng@intel.com> Reported-and-tested-by: Eric Bakula-Davis <ericbakuladavis@gmail.com> Tested-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'source/components/events')
-rw-r--r--source/components/events/evgpe.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/source/components/events/evgpe.c b/source/components/events/evgpe.c
index a00dc3786..e32129890 100644
--- a/source/components/events/evgpe.c
+++ b/source/components/events/evgpe.c
@@ -226,7 +226,7 @@ AcpiEvUpdateGpeEnableMask (
*
* RETURN: Status
*
- * DESCRIPTION: Clear a GPE of stale events and enable it.
+ * DESCRIPTION: Enable a GPE.
*
******************************************************************************/
@@ -240,14 +240,6 @@ AcpiEvEnableGpe (
ACPI_FUNCTION_TRACE (EvEnableGpe);
- /* Clear the GPE (of stale events) */
-
- Status = AcpiHwClearGpe (GpeEventInfo);
- if (ACPI_FAILURE (Status))
- {
- return_ACPI_STATUS (Status);
- }
-
/* Enable the requested GPE */
Status = AcpiHwLowSetGpe (GpeEventInfo, ACPI_GPE_ENABLE);