From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: [RFC][PATCH 3/3] PM: Improve handling of ACPI system state indicator (rev. 2) Date: Mon, 27 Aug 2007 10:27:35 +0200 Message-ID: <20070827082735.GG2060@elf.ucw.cz> References: <200708270149.52585.rjw@sisk.pl> <200708270155.30027.rjw@sisk.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <200708270155.30027.rjw@sisk.pl> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org To: "Rafael J. Wysocki" Cc: ACPI Devel Maling List , pm list , Johannes Berg List-Id: linux-pm@vger.kernel.org Hi! > Introduce a separate ACPI function for setting the system status indicator and > use it in the right places in the suspend and hibernation related ACPI callbacks > instead of setting the system status indicator implicitly in > acpi_enter_sleep_state_prep() and acpi_leave_sleep_state(). > > This allows us to avoid turning off the sleep state indicator during hibernation > on Thinkpads (currently, it is turned off before saving the image, because we > need to call finish() before unfreezing devices). > > Signed-off-by: Rafael J. Wysocki ACK. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html