[PATCH 4/7] AT91 UDC, fix recursive poll()
Renaud C.
r.cerrato at til-technologies.fr
Tue Mar 12 12:03:15 EDT 2013
I noticed some weird behavior using DFU gadget on AT91SAM9260 which worked
1 of 10 times. The bug was due to the usb_gadget_poll() being called while
the previous call was still in progress : some USB calls may takes a lot of
time (ex : DFU erase-then-write), resulting in the poller to be triggered
again while still in the poll() function.
This patch adds a poll lock to the AT91 UDC driver.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/barebox/attachments/20130312/916b76ac/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: at91udc-added-missing-lock-for-poll.patch
Type: application/octet-stream
Size: 1535 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/barebox/attachments/20130312/916b76ac/attachment.obj>
More information about the barebox
mailing list