usbcore: get BOS descriptor set
authorAndiry Xu <andiry.xu@amd.com>
Fri, 23 Sep 2011 21:19:47 +0000 (14:19 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 26 Sep 2011 22:51:08 +0000 (15:51 -0700)
commit3148bf041d169a083aa31bd69bedd5bfb7ffe215
tree0a6620dc6e2da37c291c195de78819d2e306296f
parent5023829969f56b78a16da94f34c605bbbb344018
usbcore: get BOS descriptor set

This commit gets BOS(Binary Device Object Store) descriptor set for Super
Speed devices and High Speed devices which support BOS descriptor.

BOS descriptor is used to report additional USB device-level capabilities
that are not reported via the Device descriptor. By getting BOS descriptor
set, driver can check device's device-level capability such as LPM
capability.

Signed-off-by: Andiry Xu <andiry.xu@amd.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/config.c
drivers/usb/core/hub.c
drivers/usb/core/usb.c
drivers/usb/core/usb.h
include/linux/usb.h