diff options
Diffstat (limited to 'source/components/events/evgpe.c')
-rw-r--r-- | source/components/events/evgpe.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/components/events/evgpe.c b/source/components/events/evgpe.c index f5ea992a270b..7534f6d75025 100644 --- a/source/components/events/evgpe.c +++ b/source/components/events/evgpe.c @@ -240,6 +240,14 @@ 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); |