Re: Gadget driver & virtual hub

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

 



On Thu, 2017-06-08 at 11:30 -0400, Alan Stern wrote:
> On Thu, 8 Jun 2017, Benjamin Herrenschmidt wrote:
> 
> > Another question ...
> > 
> > Do i need to support dequeue() on EP0 ?
> 
> Yes.  I don't know if any drivers ever dequeue requests from ep0, but 
> it should be supported.
> 
> There is one other special requirement for ep0.  When a new setup
> packet arrives, any previously queued requests should be cancelled
> automatically.

Yup. It also doesn't stay stalled and only supports a single request in
the queue, in that regard I have just "copied" other drivers ;-)

Cheers,
Ben.
--
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