mirror of
https://github.com/acpica/acpica/
synced 2025-02-24 09:24:08 +03:00
Merge pull request #464 from SchmErik/gpe-fix
Revert "Events: Clear status of an event before enabling it"
This commit is contained in:
commit
e82934bba0
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user