acpi: EcGpeHandler() should return ACPI_REENABLE_GPE.
* this clears the GPE if level triggered and possibly enables the GPE. See AcpiEvFinishGpe() and AcpiEvGpeDispatch().
This commit is contained in:
@@ -151,6 +151,9 @@ typedef uint32 acpi_status;
|
|||||||
|
|
||||||
typedef struct acpi_resource acpi_resource;
|
typedef struct acpi_resource acpi_resource;
|
||||||
|
|
||||||
|
#define ACPI_REENABLE_GPE 0x80
|
||||||
|
|
||||||
|
|
||||||
#endif // __ACTYPES_H__
|
#endif // __ACTYPES_H__
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -604,7 +604,7 @@ EcGpeHandler(acpi_handle gpeDevice, uint32 gpeNumber, void* context)
|
|||||||
else
|
else
|
||||||
dprintf("EcGpeHandler: queuing GPE query handler failed\n");
|
dprintf("EcGpeHandler: queuing GPE query handler failed\n");
|
||||||
}
|
}
|
||||||
return B_INVOKE_SCHEDULER;
|
return ACPI_REENABLE_GPE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user