From: Nicolas Ferre Date: Thu, 13 Dec 2007 23:52:58 +0000 (-0800) Subject: USB: at91_udc: correct hanging while disconnecting usb cable X-Git-Tag: v2.6.24-rc6~60^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08cbc706acd2dd601b0663e28fa97ffb0564e105;p=pandora-kernel.git USB: at91_udc: correct hanging while disconnecting usb cable Correct hanging while disconnecting the USB device cable. Prevent a race between vbus and UDP interrupts. This bug was tracked on at91sam9260ek boards. A usb resume interrupt was firing after the vbus interrupt : the IP was then already stoped and not able to deal with it (no more clock). A simple interrupt disabling is ok as the "end of bus reset" irq is non maskable and ok to resume the USB device IP. Signed-off-by: Nicolas Ferre Acked-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed