From patchwork Tue Apr 27 06:51:09 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Hocko X-Patchwork-Id: 95280 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o3R6pRLQ028954 for ; Tue, 27 Apr 2010 06:51:28 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750828Ab0D0GvN (ORCPT ); Tue, 27 Apr 2010 02:51:13 -0400 Received: from cantor.suse.de ([195.135.220.2]:37158 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750735Ab0D0GvM (ORCPT ); Tue, 27 Apr 2010 02:51:12 -0400 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.221.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 2779890847; Tue, 27 Apr 2010 08:51:11 +0200 (CEST) Date: Tue, 27 Apr 2010 08:51:09 +0200 From: Michal Hocko To: "Rafael J. Wysocki" Cc: Tony Vroon , Jesse Barnes , Matthew Garrett , linux-kernel@vger.kernel.org, ACPI Devel Maling List , pm list Subject: Re: commit 9630bdd9 changes behavior of the poweroff - bug? Message-ID: <20100427065109.GA3907@tiehlicka.suse.cz> References: <20100401133923.GA4104@tiehlicka.suse.cz> <201004250435.42779.rjw@sisk.pl> <20100426150503.GA4005@tiehlicka.suse.cz> <201004262051.09175.rjw@sisk.pl> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201004262051.09175.rjw@sisk.pl> User-Agent: Mutt/1.5.20 (2009-06-14) 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 (demeter.kernel.org [140.211.167.41]); Tue, 27 Apr 2010 06:51:28 +0000 (UTC) diff --git a/drivers/acpi/wakeup.c b/drivers/acpi/wakeup.c index 4b9d339..a0f4859 100644 --- a/drivers/acpi/wakeup.c +++ b/drivers/acpi/wakeup.c @@ -113,8 +113,9 @@ int __init acpi_wakeup_device_init(void) if (!dev->wakeup.flags.always_enabled || dev->wakeup.state.enabled) continue; - acpi_enable_gpe(dev->wakeup.gpe_device, dev->wakeup.gpe_number, + /*acpi_enable_gpe(dev->wakeup.gpe_device, dev->wakeup.gpe_number, ACPI_GPE_TYPE_WAKE); + */ dev->wakeup.state.enabled = 1; } mutex_unlock(&acpi_device_lock);