[PATCH] musb: move usb_add_hcd to the core init code from gadget code (v2)

David Brownell david-b at pacbell.net
Mon Jan 10 12:38:47 UTC 2011


> With this patch, host mode works.

What about OTG and gadget modes?

The MUSB hardware is flakey with respect to
those init issues.  Re-ordering host vs gadget
init has been a good way to waste a few months,
for anyone who has a few to waste.  (And a
better way to waste them for folk who do NOT
but just need to stay on schedule.)  One learns
quickly that the Mentor IP follows some other
state machine than the USB-OTG says, but even their
docs don't help uncover whatever init model they
are trying  to follow.






More information about the kernel-team mailing list