Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755230Ab0AVWp7 (ORCPT ); Fri, 22 Jan 2010 17:45:59 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755169Ab0AVWp5 (ORCPT ); Fri, 22 Jan 2010 17:45:57 -0500 Received: from netrider.rowland.org ([192.131.102.5]:41804 "HELO netrider.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S932131Ab0AVWp4 (ORCPT ); Fri, 22 Jan 2010 17:45:56 -0500 Date: Fri, 22 Jan 2010 17:45:51 -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: <201001222156.25529.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: 981 Lines: 23 On Fri, 22 Jan 2010, Rafael J. Wysocki wrote: > > For example, we disable runtime PM for most USB devices by default. > > But a few drivers may know that their devices are able to handle it, so > > they want to change the default setting when they are bound. > > Runtime PM is disabled for all devices by default unless the driver enables > it. The setting in power/control is to override the driver's choice, so that > it can be disabled even if the driver tries to enable it. > > IOW, the user space is the owner of the power.runtime_auto flag and I don't > think we should allow drivers to modify it. Okay, I understand your point of view. It means I'll have to make some changes to the USB code. No problem. 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/