|
@@ -719,13 +719,6 @@ acpi_install_gpe_handler(acpi_handle gpe_device,
|
|
handler->context = context;
|
|
handler->context = context;
|
|
handler->method_node = gpe_event_info->dispatch.method_node;
|
|
handler->method_node = gpe_event_info->dispatch.method_node;
|
|
|
|
|
|
- /* Disable the GPE before installing the handler */
|
|
|
|
-
|
|
|
|
- status = acpi_ev_disable_gpe(gpe_event_info);
|
|
|
|
- if (ACPI_FAILURE (status)) {
|
|
|
|
- goto unlock_and_exit;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
/* Install the handler */
|
|
/* Install the handler */
|
|
|
|
|
|
flags = acpi_os_acquire_lock(acpi_gbl_gpe_lock);
|
|
flags = acpi_os_acquire_lock(acpi_gbl_gpe_lock);
|