Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 173702 Details for
Bug 248452
[2.6.27.5 regression] ACPI battery power management broken
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Don't do transaction from GPE handler in poll mode.
acpi_patch (text/plain), 1.21 KB, created by
Sergey Ovcharenko
on 2008-11-28 20:57:06 UTC
(
hide
)
Description:
Don't do transaction from GPE handler in poll mode.
Filename:
MIME Type:
Creator:
Sergey Ovcharenko
Created:
2008-11-28 20:57:06 UTC
Size:
1.21 KB
patch
obsolete
>From: Alexey Starikovskiy <astarikovskiy@suse.de> >Date: Tue, 11 Nov 2008 09:54:11 +0000 (+0300) >Subject: ACPI: EC: Don't do transaction from GPE handler in poll mode. >X-Git-Tag: v2.6.28-rc5~77^2^2 >X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=commitdiff_plain;h=8517934ef6aaa28d6e055b98df65b31cedbd1372 >ACPI: EC: Don't do transaction from GPE handler in poll mode. > >Referencies: http://bugzilla.kernel.org/show_bug.cgi?id=12004 > >Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de> >Signed-off-by: Len Brown <len.brown@intel.com> >--- > >diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c >index ab84f99..bd1af3e 100644 >--- a/drivers/acpi/ec.c >+++ b/drivers/acpi/ec.c >@@ -581,9 +581,12 @@ static u32 acpi_ec_gpe_handler(void *data) > pr_debug(PREFIX "~~~> interrupt\n"); > status = acpi_ec_read_status(ec); > >- gpe_transaction(ec, status); >- if (ec_transaction_done(ec) && (status & ACPI_EC_FLAG_IBF) == 0) >- wake_up(&ec->wait); >+ if (test_bit(EC_FLAGS_GPE_MODE, &ec->flags)) { >+ gpe_transaction(ec, status); >+ if (ec_transaction_done(ec) && >+ (status & ACPI_EC_FLAG_IBF) == 0) >+ wake_up(&ec->wait); >+ } > > ec_check_sci(ec, status); > if (!test_bit(EC_FLAGS_GPE_MODE, &ec->flags) && >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 248452
:
173056
|
173057
|
173675
|
173676
|
173702
|
174161