Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751444AbaK2Rej (ORCPT ); Sat, 29 Nov 2014 12:34:39 -0500 Received: from netrider.rowland.org ([192.131.102.5]:36917 "HELO netrider.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751106AbaK2Reh (ORCPT ); Sat, 29 Nov 2014 12:34:37 -0500 Date: Sat, 29 Nov 2014 12:34:36 -0500 (EST) From: Alan Stern X-X-Sender: stern@netrider.rowland.org To: "Rafael J. Wysocki" cc: Greg Kroah-Hartman , Linux Kernel Mailing List , Linux PM list , USB development list Subject: Re: [Update][PATCH] USB / PM: Drop CONFIG_PM_RUNTIME from the USB core In-Reply-To: <2562941.6pSKsRYOqk@vostro.rjw.lan> 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 On Sat, 29 Nov 2014, Rafael J. Wysocki wrote: > > There are also one or two places in Documentation/usb that mention > > CONFIG_PM_RUNTIME. > > I found this in Documentation/usb/power-management.txt: > > "Note: Dynamic PM support for USB is present only if the kernel was > built with CONFIG_USB_SUSPEND enabled (which depends on > CONFIG_PM_RUNTIME). System PM support is present only if the kernel > was built with CONFIG_SUSPEND or CONFIG_HIBERNATION enabled. > > (Starting with the 3.10 kernel release, dynamic PM support for USB is > present whenever the kernel was built with CONFIG_PM_RUNTIME enabled. > The CONFIG_USB_SUSPEND option has been eliminated.)" > > but I'm quite unsure how to change it. What about: > > "System PM support is present only if the kernel was built with CONFIG_SUSPEND > or CONFIG_HIBERNATION enabled. Dynamic PM support for USB is present whenever > the kernel was built with CONFIG_PM enabled. > > [Historically, dynamic PM support for USB was present only if the kernel > had been built with CONFIG_USB_SUSPEND enabled (which depended on > CONFIG_PM_RUNTIME). Starting with the 3.10 kernel release, dynamic PM support > for USB was present whenever the kernel was built with CONFIG_PM_RUNTIME > enabled. The CONFIG_USB_SUSPEND option had been eliminated.] That sounds fine. Thanks. 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/