Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754614AbZLAWtk (ORCPT ); Tue, 1 Dec 2009 17:49:40 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753441AbZLAWtj (ORCPT ); Tue, 1 Dec 2009 17:49:39 -0500 Received: from ogre.sisk.pl ([217.79.144.158]:46877 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750929AbZLAWti (ORCPT ); Tue, 1 Dec 2009 17:49:38 -0500 From: "Rafael J. Wysocki" To: Matthew Garrett Subject: Re: [RFC][PATCH 11/12] PCI PM: Run-time callbacks for PCI bus type (rev. 2) Date: Tue, 1 Dec 2009 23:50:13 +0100 User-Agent: KMail/1.12.3 (Linux/2.6.32-rc8-rjw; KDE/4.3.3; x86_64; ; ) Cc: pm list , LKML , Linux PCI , ACPI Devel Maling List , Alan Stern , Jesse Barnes , Oliver Neukum , Shaohua Li , Bjorn Helgaas , Francois Romieu , Len Brown References: <200911160047.46299.rjw@sisk.pl> <200911291643.15603.rjw@sisk.pl> <20091201220043.GA17093@srcf.ucam.org> In-Reply-To: <20091201220043.GA17093@srcf.ucam.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200912012350.13384.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 607 Lines: 15 On Tuesday 01 December 2009, Matthew Garrett wrote: > 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. Yes, it should, thanks! -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/