Skip to content

Commit 4e9c8e5

Browse files
AlanSterngregkh
authored andcommitted
USB: remove CONFIG_USB_SUSPEND from Documentation
An earlier patch removed the CONFIG_USB_SUSPEND symbol but forgot to update the Documentation files. This patch (as1676) rectifies that omission. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent f3bc64d commit 4e9c8e5

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

‎Documentation/ABI/testing/sysfs-bus-usb‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Date: January 2008
3232
KernelVersion: 2.6.25
3333
Contact: Sarah Sharp <sarah.a.sharp@intel.com>
3434
Description:
35-
If CONFIG_PM and CONFIG_USB_SUSPEND are enabled, then this file
35+
If CONFIG_PM_RUNTIME is enabled then this file
3636
is present. When read, it returns the total time (in msec)
3737
that the USB device has been connected to the machine. This
3838
file is read-only.
@@ -45,7 +45,7 @@ Date: January 2008
4545
KernelVersion: 2.6.25
4646
Contact: Sarah Sharp <sarah.a.sharp@intel.com>
4747
Description:
48-
If CONFIG_PM and CONFIG_USB_SUSPEND are enabled, then this file
48+
If CONFIG_PM_RUNTIME is enabled then this file
4949
is present. When read, it returns the total time (in msec)
5050
that the USB device has been active, i.e. not in a suspended
5151
state. This file is read-only.
@@ -187,7 +187,7 @@ What: /sys/bus/usb/devices/.../power/usb2_hardware_lpm
187187
Date: September 2011
188188
Contact: Andiry Xu <andiry.xu@amd.com>
189189
Description:
190-
If CONFIG_USB_SUSPEND is set and a USB 2.0 lpm-capable device
190+
If CONFIG_PM_RUNTIME is set and a USB 2.0 lpm-capable device
191191
is plugged in to a xHCI host which support link PM, it will
192192
perform a LPM test; if the test is passed and host supports
193193
USB2 hardware LPM (xHCI 1.0 feature), USB2 hardware LPM will

‎Documentation/usb/power-management.txt‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ built with CONFIG_USB_SUSPEND enabled (which depends on
3333
CONFIG_PM_RUNTIME). System PM support is present only if the kernel
3434
was built with CONFIG_SUSPEND or CONFIG_HIBERNATION enabled.
3535

36+
(Starting with the 3.10 kernel release, dynamic PM support for USB is
37+
present whenever the kernel was built with CONFIG_PM_RUNTIME enabled.
38+
The CONFIG_USB_SUSPEND option has been eliminated.)
39+
3640

3741
What is Remote Wakeup?
3842
----------------------
@@ -206,10 +210,8 @@ initialized to 5. (The idle-delay values for already existing devices
206210
will not be affected.)
207211

208212
Setting the initial default idle-delay to -1 will prevent any
209-
autosuspend of any USB device. This is a simple alternative to
210-
disabling CONFIG_USB_SUSPEND and rebuilding the kernel, and it has the
211-
added benefit of allowing you to enable autosuspend for selected
212-
devices.
213+
autosuspend of any USB device. This has the benefit of allowing you
214+
then to enable autosuspend for selected devices.
213215

214216

215217
Warnings

0 commit comments

Comments
 (0)