From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Garrett Subject: Re: [RFC][PATCH 11/12] PCI PM: Run-time callbacks for PCI bus type (rev. 2) Date: Tue, 1 Dec 2009 22:00:43 +0000 Message-ID: <20091201220043.GA17093@srcf.ucam.org> References: <200911160047.46299.rjw@sisk.pl> <200911291632.44763.rjw@sisk.pl> <200911291643.15603.rjw@sisk.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <200911291643.15603.rjw@sisk.pl> Sender: linux-pci-owner@vger.kernel.org To: "Rafael J. Wysocki" Cc: pm list , LKML , Linux PCI , ACPI Devel Maling List , Alan Stern , Jesse Barnes , Oliver Neukum , Shaohua Li , Bjorn Helgaas , Francois Romieu , Len Brown List-Id: linux-acpi@vger.kernel.org On Sun, Nov 29, 2009 at 04:43:15PM +0100, Rafael J. Wysocki wrote: > - if (enable && !device_may_wakeup(&dev->dev)) > + if (enable && runtime && !device_may_wakeup(&dev->dev)) Should this be !runtime? We only care about device_may_wakeup() in the system suspend case. -- Matthew Garrett | mjg59@srcf.ucam.org