Re: [PATCH 9/9] musb_gadget_ep0: fix unhandled IRQ

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux