mirror of
https://github.com/acpica/acpica/
synced 2025-03-09 15:51:37 +03:00
Disable GPE in SetType
date 2004.05.11.22.10.00; author rmoore1; state Exp;
This commit is contained in:
parent
7e69c9b233
commit
e6bf80363f
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Module Name: evxfevnt - External Interfaces, ACPI event disable/enable
|
||||
* $Revision: 1.78 $
|
||||
* $Revision: 1.79 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -330,15 +330,7 @@ AcpiSetGpeType (
|
||||
return_ACPI_STATUS (AE_OK);
|
||||
}
|
||||
|
||||
/* Disable the GPE if enabled */
|
||||
|
||||
Status = AcpiEvDisableGpe (GpeEventInfo);
|
||||
if (ACPI_FAILURE (Status))
|
||||
{
|
||||
return_ACPI_STATUS (Status);
|
||||
}
|
||||
|
||||
/* Set the new type */
|
||||
/* Set the new type (will disable GPE if currently enabled) */
|
||||
|
||||
Status = AcpiEvSetGpeType (GpeEventInfo, Type);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user