USB: at91_udc: Additional checks
authorWojtek Kaniewski <wojtekka@toxygen.net>
Fri, 8 Dec 2006 11:26:00 +0000 (03:26 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 20 Dec 2006 18:14:27 +0000 (10:14 -0800)
commitbfb7fb79e913f60330037d1f302efee28d5f6770
treee5c0fb70b4f7e57372baccc94bbef00e64e69146
parent943c441948581bd01ab196a4d32da88bfa0f13ce
USB: at91_udc: Additional checks

This patch performs additional checks in at91_udc, just in case of
some spurious interrupts or device enumeration.

Signed-off-by: Wojtek Kaniewski <wojtekka@toxygen.net>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/at91_udc.c