[xburst] udc: Fix recursive spinlocks
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 29 May 2010 00:12:09 +0000 (00:12 +0000)
committerLars-Peter Clausen <lars@metafoo.de>
Sat, 29 May 2010 00:12:09 +0000 (00:12 +0000)
commit59230b9e51d8ffe96e029a792f60fb4ae070af71
treed0726f919657eb1fff8e6e91aa96f642e00478b9
parentd35fd71c35e32485c578f49ccd65408873bb2c3f
[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>

SVN-Revision: 21619
target/linux/xburst/patches-2.6.34/056-udc.patch