ACPICA: Events: Stop unconditionally clearing ACPI IRQs during suspend/resume
[linux-2.6-block.git] / drivers / acpi / acpica / evgpe.c
index 410a3907c0518a2e9fc2d51cd344d54b4299fec2..6d5f6e4fe3ac8a9f09b73ddd36e18b8199985490 100644 (file)
@@ -105,7 +105,7 @@ acpi_ev_update_gpe_enable_mask(struct acpi_gpe_event_info *gpe_event_info)
  *
  * RETURN:      Status
  *
- * DESCRIPTION: Clear a GPE of stale events and enable it.
+ * DESCRIPTION: Enable a GPE.
  *
  ******************************************************************************/
 
@@ -115,13 +115,6 @@ acpi_status acpi_ev_enable_gpe(struct acpi_gpe_event_info *gpe_event_info)
 
        ACPI_FUNCTION_TRACE(ev_enable_gpe);
 
-       /* Clear the GPE (of stale events) */
-
-       status = acpi_hw_clear_gpe(gpe_event_info);
-       if (ACPI_FAILURE(status)) {
-               return_ACPI_STATUS(status);
-       }
-
        /* Enable the requested GPE */
 
        status = acpi_hw_low_set_gpe(gpe_event_info, ACPI_GPE_ENABLE);