]> git.baikalelectronics.ru Git - kernel.git/commit
usb: Push USB2 LPM disable on disconnect into USB core.
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Tue, 8 Oct 2013 15:28:43 +0000 (08:28 -0700)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Wed, 16 Oct 2013 19:24:21 +0000 (12:24 -0700)
commit40f467e38a746d73a7ad2e0f021319550aa210f5
tree5c74b9778be3be051cd865b5e8a4906cc0347ecd
parentbd3052ccedfd04b5ee5699583391ed85f644fe7e
usb: Push USB2 LPM disable on disconnect into USB core.

The USB core currently handles enabling and disabling optional USB power
management features during device transitions (device suspend/resume,
driver bind/unbind, device reset, and device disconnect).  Those
optional power features include Latency Tolerance Messaging (LTM),
USB 3.0 Link PM, and USB 2.0 Link PM.

The USB core currently enables LPM on device enumeration and disables
USB 2.0 Link PM when the device is reset.  However, the xHCI driver
disables LPM when the device is disconnected and the device context is
freed.  Push the call up into the USB core, in order to be consistent
with the core handling all power management enabling and disabling.

Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
drivers/usb/core/message.c
drivers/usb/host/xhci.c