Message ID | 1737008.n1YU2pBsJF@vostro.rjw.lan (mailing list archive) |
---|---|
State | Superseded, archived |
Headers | show |
Index: linux-pm/drivers/acpi/acpica/hwgpe.c =================================================================== --- linux-pm.orig/drivers/acpi/acpica/hwgpe.c +++ linux-pm/drivers/acpi/acpica/hwgpe.c @@ -149,7 +149,7 @@ acpi_hw_low_set_gpe(struct acpi_gpe_even /* Write the updated enable mask */ status = acpi_hw_write(enable_mask, &gpe_register_info->enable_address); - if (ACPI_SUCCESS(status) && (action & ACPI_GPE_SAVE_MASK)) { + if (action & ACPI_GPE_SAVE_MASK) { gpe_register_info->enable_mask = (u8)enable_mask; } return (status);