From patchwork Wed Dec 15 07:47:08 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lin Ming X-Patchwork-Id: 412621 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oBF7gIq1032131 for ; Wed, 15 Dec 2010 07:42:19 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753846Ab0LOHmO (ORCPT ); Wed, 15 Dec 2010 02:42:14 -0500 Received: from mga02.intel.com ([134.134.136.20]:56000 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753496Ab0LOHmN (ORCPT ); Wed, 15 Dec 2010 02:42:13 -0500 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 14 Dec 2010 23:42:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.59,347,1288594800"; d="scan'208";a="687291638" Received: from minggr.sh.intel.com (HELO [10.239.13.26]) ([10.239.13.26]) by orsmga001.jf.intel.com with ESMTP; 14 Dec 2010 23:42:11 -0800 Subject: [PATCH] acpi: update return value in EC gpe handler From: Lin Ming To: lenb Cc: "Moore, Robert" , "Rafael J. Wysocki" , linux-acpi Date: Wed, 15 Dec 2010 15:47:08 +0800 Message-ID: <1292399228.10384.175.camel@minggr.sh.intel.com> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Wed, 15 Dec 2010 07:42:19 +0000 (UTC) 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; } /* --------------------------------------------------------------------------