Ignore:
Timestamp:
Apr 18, 2017, 8:47:31 AM (6 weeks ago)
Author:
brainslayer
Message:

update kernels

File:
1 edited

Legend:

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

    r31794 r31884  
    26162616                        return ret;
    26172617
    2618                 /* The port state is unknown until the reset completes. */
    2619                 if (!(portstatus & USB_PORT_STAT_RESET))
     2618                /*
     2619                 * The port state is unknown until the reset completes.
     2620                 *
     2621                 * On top of that, some chips may require additional time
     2622                 * to re-establish a connection after the reset is complete,
     2623                 * so also wait for the connection to be re-established.
     2624                 */
     2625                if (!(portstatus & USB_PORT_STAT_RESET) &&
     2626                    (portstatus & USB_PORT_STAT_CONNECTION))
    26202627                        break;
    26212628
Note: See TracChangeset for help on using the changeset viewer.