usb: amd5536udc: fixed shared interrupt bug and warning oops
commit774430b67775145d69362ca807d5f25db019919e
authorThomas Dahlmann <dahlmann.thomas@arcor.de>
Tue, 17 Nov 2009 22:18:27 +0000 (17 14:18 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 8 Dec 2009 18:22:13 +0000 (8 10:22 -0800)
treeef8f66adb3feb4dea588026f08f91721c1e8ae50
parent41e0b0605826e299a981e2da61e631efe171f4af
usb: amd5536udc: fixed shared interrupt bug and warning oops

commit c5deb832d7a3f9618b09e6eeaa91a1a845c90c65 upstream.

- 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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/amd5536udc.c