Merge pull request #464 from SchmErik/gpe-fix

Revert "Events: Clear status of an event before enabling it"
This commit is contained in:
Robert Moore 2019-05-03 07:23:07 -07:00 committed by GitHub
commit e82934bba0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);