diff options
Diffstat (limited to 'drivers/acpi/ec.c')
-rw-r--r-- | drivers/acpi/ec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index 348a19e19b64..3ffe172d1a88 100644 --- a/drivers/acpi/ec.c +++ b/drivers/acpi/ec.c | |||
@@ -290,6 +290,9 @@ static int acpi_ec_transaction(struct acpi_ec *ec, u8 command, | |||
290 | } | 290 | } |
291 | down(&ec->sem); | 291 | down(&ec->sem); |
292 | 292 | ||
293 | /* Make sure GPE is enabled before doing transaction */ | ||
294 | acpi_enable_gpe(NULL, ec->gpe_bit, ACPI_NOT_ISR); | ||
295 | |||
293 | status = acpi_ec_wait(ec, ACPI_EC_EVENT_IBF_0); | 296 | status = acpi_ec_wait(ec, ACPI_EC_EVENT_IBF_0); |
294 | if (status) { | 297 | if (status) { |
295 | printk(KERN_DEBUG PREFIX "read EC, IB not empty\n"); | 298 | printk(KERN_DEBUG PREFIX "read EC, IB not empty\n"); |