On Wednesday 11 February 2009, Sergei Shtylyov wrote: > I'm considering addition of another (tryly "idle") phase because the > stage after the status phase completion interrupt and before the > RxPktRdy interrupt was clearly missed.
In answer to Greg's previous question: looks like this patch is rather clearly *not* 2.6.29 material. ;) Sergei, adding another phase to the state machine should be no particular issue, but do keep in mind that the musb_g_ep0_state values reflect *protocol* states right now. That is, the model is that the various IRQ-driven transitions should be sorted out, races and all, and then mapped to those states. The Mentor documentation is excessively weak about most of the hardware state transitions (and e.g. their OTG states are a complete mismatch to the OTG specs), so coming up with something that mirrors hardware not protocol states isn't very straightforward. - Dave _______________________________________________ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source