提交 5d57a6a5 编写于 作者: A Alexey Starikovskiy 提交者: Len Brown

ACPI: ec: Enable EC GPE at beginning of transaction

Temporary measure until resume sequence is right.
Signed-off-by: NLen Brown <len.brown@intel.com>
上级 d91df1aa
......@@ -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");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册