From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751616AbZHRT47 (ORCPT ); Tue, 18 Aug 2009 15:56:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751438AbZHRT46 (ORCPT ); Tue, 18 Aug 2009 15:56:58 -0400 Received: from ogre.sisk.pl ([217.79.144.158]:55704 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751336AbZHRT46 convert rfc822-to-8bit (ORCPT ); Tue, 18 Aug 2009 15:56:58 -0400 From: "Rafael J. Wysocki" To: Zhang Rui Subject: Re: [RFC][PATCH 7/7] PM: Asynchronous suspend and resume of i8042 Date: Tue, 18 Aug 2009 21:57:53 +0200 User-Agent: KMail/1.12.0 (Linux/2.6.31-rc6-rjw; KDE/4.3.0; x86_64; ; ) Cc: "linux-pm" , "linux-acpi" , Linux Kernel Mailing List , Len Brown , Alan Stern , Arjan van de Ven , Greg KH References: <200908122218.13975.rjw@sisk.pl> <200908170221.34885.rjw@sisk.pl> <1250579010.5351.69.camel@rzhang-dt> In-Reply-To: <1250579010.5351.69.camel@rzhang-dt> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 8BIT Message-Id: <200908182157.53283.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday 18 August 2009, Zhang Rui wrote: > On Mon, 2009-08-17 at 08:21 +0800, Rafael J. Wysocki wrote: > > Set async_suspend for i8042. > > > it's the psmouse reset that takes the 0.4 seconds during suspend. > so we should call device_enable_async_suspend for the psmouse serio > device in psmouse-base.c > > Or invoking device_enable_async_suspend for every serio device in > serio.c, as the keyboard also takes about 0.2s to suspend. Yes we can do that. I'll test that later today. Thanks, Rafael