Commit 3b3db70d authored by Len Brown's avatar Len Brown Committed by Len Brown

[ACPI] enable GPE for ECDT (David Shaohua Li)

parent f3c64c05
...@@ -821,6 +821,8 @@ acpi_ec_ecdt_probe (void) ...@@ -821,6 +821,8 @@ acpi_ec_ecdt_probe (void)
if (ACPI_FAILURE(status)) { if (ACPI_FAILURE(status)) {
goto error; goto error;
} }
acpi_set_gpe_type (NULL, ec_ecdt->gpe_bit, ACPI_GPE_TYPE_RUNTIME);
acpi_enable_gpe (NULL, ec_ecdt->gpe_bit, ACPI_NOT_ISR);
status = acpi_install_address_space_handler (ACPI_ROOT_OBJECT, status = acpi_install_address_space_handler (ACPI_ROOT_OBJECT,
ACPI_ADR_SPACE_EC, &acpi_ec_space_handler, ACPI_ADR_SPACE_EC, &acpi_ec_space_handler,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment