[PATCH 3/7] AT91 UDC startup fix

Renaud C. r.cerrato at til-technologies.fr
Tue Mar 12 11:54:00 EDT 2013


I noticed that depending on boot timings, the USB gadget weren't detected
at all by hosts. After few hours of debugging and using the at91clk output,
I found that the UDP clock wasn't enabled from time to time.

This patch fix the startup of UDC by adding a check into the
at91_update_vbus().
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/barebox/attachments/20130312/fe3de4a4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: at91udc-initial-vbus-detection.patch
Type: application/octet-stream
Size: 1434 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/barebox/attachments/20130312/fe3de4a4/attachment.obj>


More information about the barebox mailing list