diff options
Diffstat (limited to 'drivers/acpi/ec.c')
| -rw-r--r-- | drivers/acpi/ec.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index a802962ff2b4..7828ac5e5e7f 100644 --- a/drivers/acpi/ec.c +++ b/drivers/acpi/ec.c | |||
| @@ -827,7 +827,6 @@ acpi_fake_ecdt_callback(acpi_handle handle, | |||
| 827 | status = acpi_evaluate_integer(handle, "_GPE", NULL, &ec_ecdt->gpe); | 827 | status = acpi_evaluate_integer(handle, "_GPE", NULL, &ec_ecdt->gpe); |
| 828 | if (ACPI_FAILURE(status)) | 828 | if (ACPI_FAILURE(status)) |
| 829 | return status; | 829 | return status; |
| 830 | ec_ecdt->global_lock = TRUE; | ||
| 831 | ec_ecdt->handle = handle; | 830 | ec_ecdt->handle = handle; |
| 832 | 831 | ||
| 833 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, "GPE=0x%02lx, ports=0x%2lx, 0x%2lx", | 832 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, "GPE=0x%02lx, ports=0x%2lx, 0x%2lx", |
| @@ -901,8 +900,6 @@ static int __init acpi_ec_get_real_ecdt(void) | |||
| 901 | ec_ecdt->command_addr = ecdt_ptr->control.address; | 900 | ec_ecdt->command_addr = ecdt_ptr->control.address; |
| 902 | ec_ecdt->data_addr = ecdt_ptr->data.address; | 901 | ec_ecdt->data_addr = ecdt_ptr->data.address; |
| 903 | ec_ecdt->gpe = ecdt_ptr->gpe; | 902 | ec_ecdt->gpe = ecdt_ptr->gpe; |
| 904 | /* use the GL just to be safe */ | ||
| 905 | ec_ecdt->global_lock = TRUE; | ||
| 906 | ec_ecdt->uid = ecdt_ptr->uid; | 903 | ec_ecdt->uid = ecdt_ptr->uid; |
| 907 | 904 | ||
| 908 | status = acpi_get_handle(NULL, ecdt_ptr->id, &ec_ecdt->handle); | 905 | status = acpi_get_handle(NULL, ecdt_ptr->id, &ec_ecdt->handle); |
