]> git.neil.brown.name Git - history.git/commit
[PATCH] USB: net2280 updates
authorDavid Brownell <david-b@pacbell.net>
Tue, 12 Oct 2004 08:02:17 +0000 (01:02 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Tue, 12 Oct 2004 08:02:17 +0000 (01:02 -0700)
commite3fc695b19f4c8563e46056d700c3e96b2e4f078
tree8fb46719afb6a5c7362b2c96cb539bd285feccbf
parentb41cb145b269b46235357728b87d0a4fb4df8874
[PATCH] USB: net2280 updates

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: Alex Sanks <alex@netchip.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/usb/gadget/net2280.c