[xburst] udc: Fix recursive spinlocks
authorlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 29 May 2010 00:12:09 +0000 (00:12 +0000)
committerlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 29 May 2010 00:12:09 +0000 (00:12 +0000)
commit239a72273ca93628472cccd415d267f97fd34f08
treed0726f919657eb1fff8e6e91aa96f642e00478b9
parentb28851ab499da0c1dea5dbcf390c3c7d0c718347
[xburst] udc: Fix recursive spinlocks

Driver had recursive spinlock locking: 1. jz4740_queue() acquires lock 2. done()
is called in chain:
jz4740_queue()->jz4740_ep0_kick()->jz4740_ep0_in()->write_fifo_ep0()->done() and
it tries to acquire same lock. 3. Deadlock.

Signed-off-by:
Yauhen Kharuzhy <jekhor@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21619 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/xburst/patches-2.6.34/056-udc.patch
This page took 0.021606 seconds and 4 git commands to generate.