]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ARM: OMAP: MUSB: prevent recursive spinlock in TX path
authorKevin Hilman <khilman@mvista.com>
Wed, 20 Feb 2008 17:27:10 +0000 (09:27 -0800)
committerTony Lindgren <tony@atomide.com>
Wed, 5 Mar 2008 10:24:38 +0000 (12:24 +0200)
commit4bbf5ebf1fdedd08d84c80a8ba011fd353d8fc5b
treeffeeb32ef7a467d5fab9f5da93173cae53a04a1d
parente2fbfd6bd4e61fbfc94c95420df63e1b10862a3c
ARM: OMAP: MUSB: prevent recursive spinlock in TX path

If a hard IRQ occurs during the soft IRQ TX processing, a recursive
spinlock BUG can occur.

Prevent this by interrupt-off locking around usb_hcd_link_urb_to_ep()

Found while testing bluetooth A2DP audio over USB.

Signed-off-by: Kevin Hilman <khilman@mvista.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/usb/musb/musb_host.c