Ignore:
Timestamp:
Apr 16, 2017, 3:07:01 PM (5 weeks ago)
Author:
brainslayer
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-3.18/drivers/usb/core/hub.c

    r31168 r31869  
    26302630                        return ret;
    26312631
    2632                 /* The port state is unknown until the reset completes. */
    2633                 if (!(portstatus & USB_PORT_STAT_RESET))
     2632                /*
     2633                 * The port state is unknown until the reset completes.
     2634                 *
     2635                 * On top of that, some chips may require additional time
     2636                 * to re-establish a connection after the reset is complete,
     2637                 * so also wait for the connection to be re-established.
     2638                 */
     2639                if (!(portstatus & USB_PORT_STAT_RESET) &&
     2640                    (portstatus & USB_PORT_STAT_CONNECTION))
    26342641                        break;
    26352642
     
    41824189        int connect_type = USB_PORT_CONNECT_TYPE_UNKNOWN;
    41834190
    4184         if (!udev->usb2_hw_lpm_capable)
     4191        if (!udev->usb2_hw_lpm_capable || !udev->bos)
    41854192                return;
    41864193
Note: See TracChangeset for help on using the changeset viewer.