usb: xhci: check usb2 port capabilities before adding hw link PM support
commitb630d4b9d05ba2e66878ca4614946d0f950d4111
authorMathias Nyman <mathias.nyman@linux.intel.com>
Thu, 23 May 2013 14:14:28 +0000 (23 17:14 +0300)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Wed, 5 Jun 2013 23:46:19 +0000 (5 16:46 -0700)
treebd4e9e106016f4dd3d0bd7400d6d21b2d49a38ef
parent851ec164b14aa9dacafd6edb099e76a4cc9d06ec
usb: xhci: check usb2 port capabilities before adding hw link PM support

Hardware link powermanagement in usb2 is a per-port capability.
Previously support for hw lpm was enabled for all ports if any usb2 port supported it.

Now instead cache the capability values and check them for each port individually

Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
drivers/usb/host/xhci-mem.c
drivers/usb/host/xhci.c
drivers/usb/host/xhci.h