• David Brownell's avatar
    [PATCH] USB: net2280 updates · e3fc695b
    David Brownell authored
    Net2280 patches to:
    
      - Make reset logic ensure endpoint toggle and halt bits only get cleared
        on endpoints other than ep0 to fix an extremely unlikely (but possible)
        state when a setup packet come in after we've checked the reset status
        but before calling ep_reset().
    
      - Avoid a disconnect hang by exchanging SUSPEND_IMMEDIATELY (intended for
        use when the 8051 is the PCI host) with SUSPEND_REQUEST_INTERRUPT to
        suspend the NET2280.
    
      - Make rmmod of gadget drivers trigger disconnect; earlier changes to
        reset logic broke this.
    Signed-off-by: default avatarAlex Sanks <alex@netchip.com>
    Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
    e3fc695b
net2280.c 76.7 KB