usb: amd5536udc: fixed shared interrupt bug and warning oops
authorThomas Dahlmann <dahlmann.thomas@arcor.de>
Tue, 17 Nov 2009 22:18:27 +0000 (14:18 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 1 Dec 2009 00:43:15 +0000 (16:43 -0800)
commitc5deb832d7a3f9618b09e6eeaa91a1a845c90c65
tree7676793d67592bac01c7605e4b37e26a63a27e9e
parent0de6ab8b91f2e1e8e7fc66a8b5c5e8ca82ea16b7
usb: amd5536udc: fixed shared interrupt bug and warning oops

- fixed shared interrupt bug reported by Vadim Lobanov
 - fixed possible warning oops on driver unload when connected
 - prevent interrupt flood in PIO mode ("modprobe amd5536udc use_dma=0")
   when using gadget ether

Signed-off-by: Thomas Dahlmann <dahlmann.thomas@arcor.de>
Cc: Robert Richter <robert.richter@amd.com>
Cc: David Brownell <david-b@pacbell.net>
Cc: stable <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/amd5536udc.c