On Wednesday 07 March 2007 8:45 am, Pandita, Vikram wrote:
>
> Alan
> If the peripheral driver is to decide to send a ZLP or not based on the
> length of data transfer, then the API given to Gadget driver of req.zero
> is redundant.
>
> My understanding is that the Gadget driver should respect t
On Tuesday 06 March 2007 11:12 pm, Ajay Jain wrote:
> Hello,
>
> We had the following questions for a peripheral controller driver. We
> do have an idea about some of the answers, evidently our understanding
> is not complete.
>
> 1. The gadget can ask the peripheral controller to send/receive ze
On Wed, 7 Mar 2007, Pandita, Vikram wrote:
> Alan
> If the peripheral driver is to decide to send a ZLP or not based on the
> length of data transfer, then the API given to Gadget driver of req.zero
> is redundant.
Yes, it is redundant. That doesn't mean it is bad. Lots of little
optimization
; From: [EMAIL PROTECTED] [mailto:linux-usb-
> [EMAIL PROTECTED] On Behalf Of Alan Stern
> Sent: Wednesday, March 07, 2007 9:53 PM
> To: Ajay Jain
> Cc: linux-usb-devel@lists.sourceforge.net
> Subject: Re: [linux-usb-devel] Zero-Byte Packet Questions
>
> On Wed, 7 Mar 2007, Aj
On Wed, 7 Mar 2007, Ajay Jain wrote:
> Hello,
>
> We had the following questions for a peripheral controller driver. We
> do have an idea about some of the answers, evidently our understanding
> is not complete.
>
> 1. The gadget can ask the peripheral controller to send/receive zero
> byte pack