Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755722Ab0AWPUU (ORCPT ); Sat, 23 Jan 2010 10:20:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755623Ab0AWPUQ (ORCPT ); Sat, 23 Jan 2010 10:20:16 -0500 Received: from netrider.rowland.org ([192.131.102.5]:51817 "HELO netrider.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1755563Ab0AWPUP (ORCPT ); Sat, 23 Jan 2010 10:20:15 -0500 Date: Sat, 23 Jan 2010 10:20:14 -0500 (EST) From: Alan Stern X-X-Sender: stern@netrider.rowland.org To: "Rafael J. Wysocki" cc: pm list , LKML , Jesse Barnes , Matthew Garrett , Greg KH Subject: Re: [PATCH 1/2] PM / Runtime: Add sysfs switch for disabling device run-time PM (rev. 2) In-Reply-To: <201001231314.54926.rjw@sisk.pl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 819 Lines: 25 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 Alan Stern -- 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/