public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] acpi: update return value in EC gpe handler
@ 2010-12-15  7:47 Lin Ming
  2010-12-15 20:04 ` Moore, Robert
  0 siblings, 1 reply; 3+ messages in thread
From: Lin Ming @ 2010-12-15  7:47 UTC (permalink / raw)
  To: lenb; +Cc: Moore, Robert, Rafael J. Wysocki, linux-acpi

EC gpe handler should return ACPI_REENABLE_GPE, so acpi_ev_gpe_dispatch
can clear and reenable the GPE.

Signed-off-by: Lin Ming <ming.m.lin@intel.com>
---

Len, 

I forgot to update EC gpe handler return value in the series of 
"[PATCH v2 0/8] Minimize ACPICA/linux GPE code divergence".
This is the fix.

 drivers/acpi/ec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index e15439a..8a0e907 100644
--- a/drivers/acpi/ec.c
+++ b/drivers/acpi/ec.c
@@ -619,7 +619,7 @@ static u32 acpi_ec_gpe_handler(acpi_handle gpe_device,
 		wake_up(&ec->wait);
 		ec_check_sci(ec, acpi_ec_read_status(ec));
 	}
-	return ACPI_INTERRUPT_HANDLED;
+	return ACPI_REENABLE_GPE;
 }
 
 /* --------------------------------------------------------------------------



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-12-17 22:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-15  7:47 [PATCH] acpi: update return value in EC gpe handler Lin Ming
2010-12-15 20:04 ` Moore, Robert
2010-12-17 22:17   ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox