Re: 2.6.27-rc5 acpi: EC Storm error message on bootup
From: Alexey Starikovskiy
Date: Tue Sep 09 2008 - 13:36:00 EST
jmerkey@xxxxxxxxxxxxxxxxxxxxx wrote:
Oh shit, my mistake. I applied it to a 2.2.26.4 tree. please disregard.
I will test it shortly.
Thanks!
I've found more slippery place, could you please add attached patch if the first one doesn't work?
Regards,
Alex.
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index 97168d4..961b327 100644
--- a/drivers/acpi/ec.c
+++ b/drivers/acpi/ec.c
@@ -538,7 +538,7 @@ static u32 acpi_ec_gpe_handler(void *data)
state = acpi_ec_read_status(ec);
gpe_transaction(ec, state);
- if ((status & ACPI_EC_FLAG_IBF) == 0)
+ if (ec_transaction_done(ec) && (status & ACPI_EC_FLAG_IBF) == 0)
wake_up(&ec->wait);
status = ec_check_sci(ec, state);