Commit 5acdb1af authored by Rafael J. Wysocki's avatar Rafael J. Wysocki Committed by Len Brown

ACPI / ACPICA: Disable GPEs during initialization

GPEs with corresponding _Lxx/_Exx control methods need to be disabled
during initialization in case they have been enabled by the BIOS, so
that they don't fire up until they are enabled by acpi_update_gpes().

References: default avatarRafael J. Wysocki <>
Signed-off-by: default avatarLen Brown <>
parent b581a7f9
......@@ -408,6 +408,9 @@ acpi_ev_match_gpe_method(acpi_handle obj_handle,
/* Disable the GPE in case it's been enabled already. */
(void)acpi_hw_low_set_gpe(gpe_event_info, ACPI_GPE_DISABLE);
* Add the GPE information from above to the gpe_event_info block for
* use during dispatch of this GPE.
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment