Sarah Sharp d9b2099cd6 USB: Refactor code to set LPM support flag.
Refactor the code that sets the usb_device flag to indicate the device
support link power management (lpm_capable).  The current code sets
lpm_capable unconditionally if the USB devices have a USB 2.0 Extended
Capabilities Descriptor.  USB 3.0 devices can also have that descriptor,
but the xHCI driver code that uses lpm_capable will not run the USB 2.0
LPM test for devices under the USB 3.0 roothub.  Therefore, it's fine
only set lpm_capable for high speed devices in this refactoring.

Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
2012-05-18 15:41:54 -07:00
..
2012-05-11 17:03:12 -07:00
2012-05-03 17:16:52 -07:00
2012-05-07 09:03:39 -07:00
2012-04-12 15:36:33 -07:00
2012-03-27 16:03:32 -07:00
2012-05-01 21:32:55 -07:00
2012-05-07 09:03:39 -07:00
2012-04-12 15:36:33 -07:00
2012-03-30 00:09:17 -07:00
2012-05-02 13:47:49 -07:00
2012-04-18 13:15:51 -07:00
2012-05-07 12:26:28 -04:00