diff options
author | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2012-02-20 08:31:26 -0800 |
---|---|---|
committer | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2012-05-18 15:41:54 -0700 |
commit | d9b2099cd66de3164f6e17a5c0e3f14cce24a9a3 (patch) | |
tree | 8e83a7b715f1ddbfbf9fb9130c2df4a1d073f180 /crypto/fcrypt.c | |
parent | 448b6eb1e04cddc418d4b780ae19ca8cdb42d110 (diff) | |
download | blackbird-obmc-linux-d9b2099cd66de3164f6e17a5c0e3f14cce24a9a3.tar.gz blackbird-obmc-linux-d9b2099cd66de3164f6e17a5c0e3f14cce24a9a3.zip |
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>
Diffstat (limited to 'crypto/fcrypt.c')
0 files changed, 0 insertions, 0 deletions