Thread (1 message) 1 message, 1 author, 2009-12-10

[BUG] pxa27x_udc: possible recursive locking detected in pxa_ep_queue

From: robert.jarzmik@free.fr (Robert Jarzmik)
Date: 2009-12-10 17:49:31

David Brownell [off-list ref] writes:
On Sunday 06 December 2009, Robert Jarzmik wrote:
Dropping the lock before complete() is exactly the right thing to do.
Good, just as Alan said too.
But make sure your ep_queue() method understands that sometimes it's
only supposed to *queue* and not activate tx/rx.
Yes, I understand. A kind of atomic count, on all methods called from gadget,
which prevents reentrance (ie. no chains queue()->...->complete()->queue()).

As I have a bit of luck, all transfers are triggered through handle_ep(), which
if not called won't trigger any rx/tx (if counter was incremented).

Thanks for the info.

--
Robert
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help