projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d91df1a
)
ACPI: ec: Enable EC GPE at beginning of transaction
author
Alexey Starikovskiy
<alexey.y.starikovskiy@intel.com>
Thu, 7 Dec 2006 15:42:16 +0000
(18:42 +0300)
committer
Len Brown
<len.brown@intel.com>
Fri, 8 Dec 2006 07:56:05 +0000
(
02:56
-0500)
Temporary measure until resume sequence is right.
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/ec.c
patch
|
blob
|
history
diff --git
a/drivers/acpi/ec.c
b/drivers/acpi/ec.c
index 348a19e19b64920acc0650dd34f0a671e6c659aa..3ffe172d1a88abaddb68275cca07d5e499b48408 100644
(file)
--- 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,
}
down(&ec->sem);
+ /* Make sure GPE is enabled before doing transaction */
+ acpi_enable_gpe(NULL, ec->gpe_bit, ACPI_NOT_ISR);
+
status = acpi_ec_wait(ec, ACPI_EC_EVENT_IBF_0);
if (status) {
printk(KERN_DEBUG PREFIX "read EC, IB not empty\n");