Re: [PATCH] usb: dwc3: ep0: fix delayed status is queued too early

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

 



On Thu, May 08, 2014 at 03:06:48PM -0400, Alan Stern wrote:
> On Thu, 8 May 2014, Paul Zimmerman wrote:
> 
> > Just FYI, the DWC3 core is designed to always respond to SETUP packets.
> > It has a 3-deep input buffer for SETUPs, provided the RxFIFO is set up
> > properly according to the databook. If the buffer fills up, then
> > further SETUP packets will get lost, but they will still be ACKed.
> 
> Really?  That seems odd.  Isn't the most recent SETUP packet the one 
> you want to handle?

And we _will_ handle the most recent SETUP packet. It's just that we're
obligated to still start Data/Status phase before going back to that
SETUP packet. Note that neither Data/Status will shift anything into the
wire, they will complete as soon as they are started, but they _must_ be
started anyhow.

-- 
balbi

Attachment: signature.asc
Description: Digital signature


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

  Powered by Linux