• Sarah Sharp's avatar
    USB: Make sure to fetch the BOS desc for roothubs. · 448b6eb1
    Sarah Sharp authored
    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: default avatarSarah Sharp <sarah.a.sharp@linux.intel.com>
    Cc: Andiry Xu <andiry.xu@amd.com>
    448b6eb1
hcd.c 76.8 KB