Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754130Ab0AWUHs (ORCPT ); Sat, 23 Jan 2010 15:07:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752717Ab0AWUHr (ORCPT ); Sat, 23 Jan 2010 15:07:47 -0500 Received: from ogre.sisk.pl ([217.79.144.158]:43115 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752000Ab0AWUHq (ORCPT ); Sat, 23 Jan 2010 15:07:46 -0500 From: "Rafael J. Wysocki" To: Alan Stern Subject: Re: [PATCH 1/2] PM / Runtime: Add sysfs switch for disabling device run-time PM (rev. 2) Date: Sat, 23 Jan 2010 21:08:07 +0100 User-Agent: KMail/1.12.3 (Linux/2.6.33-rc4-rjw; KDE/4.3.3; x86_64; ; ) Cc: pm list , LKML , Jesse Barnes , Matthew Garrett , Greg KH References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201001232108.07693.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 904 Lines: 27 On Saturday 23 January 2010, Alan Stern wrote: > On Sat, 23 Jan 2010, Rafael J. Wysocki wrote: > > > Hmm, OK. > > > > Of course, if the driver decides to leave disable_depth > 0, the user still > > won't be able to do anything about that, but if I understand correctly, you > > want drivers to have the option to use pm_runtime_forbid() initially, right > > after pm_runtime_enable(), so that the user space can turn the runtime PM > > on if desired via sysfs. > > > > That makes sense. I have a usage case for that myself. :-) > > > > Updated patch is appended. > > It looks good. > > Acked-by: Alan Stern Thanks! Rafael -- 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/