]> git.baikalelectronics.ru Git - kernel.git/commit
USB: Make sure to fetch the BOS desc for roothubs.
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Tue, 15 May 2012 23:58:45 +0000 (16:58 -0700)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Fri, 18 May 2012 22:41:53 +0000 (15:41 -0700)
commit3e1ee15ac8f9fab048b630414439c3796694964c
treee354c9392df245183746a1c075b2bb95979a2156
parentcb1267195b9dea2de61d571da146a5da5af027b1
USB: Make sure to fetch the BOS desc for roothubs.

The BOS descriptor is normally fetched and stored in the usb_device->bos
during enumeration.  USB 3.0 roothubs don't undergo enumeration, but we
need them to have a BOS descriptor, since each xHCI host has a different
U1 and U2 exit latency.  Make sure to fetch the BOS descriptor for USB
3.0 roothubs.  It will be freed when the roothub usb_device is released.

Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Cc: Andiry Xu <andiry.xu@amd.com>
drivers/usb/core/hcd.c