• David Brownell's avatar
    [PATCH] USB: disable usb device endpoints in more places · 9dfb0ad1
    David Brownell authored
    This patch touches the most significant places in usbcore
    that need to respond to configuration change events:
    
      - set_interface changes altsettings; affects endpoints
        in both new and old settings (but not other endpoints).
    
      - set_configuration; affects every endpoint
    
    The endpoints get disabled, flushing hardware state
    reliably.  This resolves two FIXMEs here, part of one
    in OHCI (ed_get) and all of one in EHCI (qh_append_tds).
    
    Not many drivers currently use these code paths, but
    now they should start to work properly.
    9dfb0ad1
message.c 33.1 KB