Commit f3c64c05 authored by Len Brown's avatar Len Brown Committed by Len Brown

[ACPI] enable Embedded Controller (EC)'s

General Purpose Event (GPE) from David Shaohua Li
parent 5a14547b
...@@ -734,6 +734,8 @@ acpi_ec_start ( ...@@ -734,6 +734,8 @@ acpi_ec_start (
if (ACPI_FAILURE(status)) { if (ACPI_FAILURE(status)) {
return_VALUE(-ENODEV); return_VALUE(-ENODEV);
} }
acpi_set_gpe_type (NULL, ec->gpe_bit, ACPI_GPE_TYPE_RUNTIME);
acpi_enable_gpe (NULL, ec->gpe_bit, ACPI_NOT_ISR);
status = acpi_install_address_space_handler (ec->handle, status = acpi_install_address_space_handler (ec->handle,
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