Re: ZLP sending request from gadget

2015-04-27 Thread Peter Stuge
Felipe Balbi wrote: > On Mon, Apr 27, 2015 at 10:57:24AM +0530, Anjana V Kumar wrote: > > But we see that the serial gadget driver does not set req->zero. But > > others like u_ether and f_massstorage are setting the same. > > > > Is there any specific reason why this is not done in gadget serial

Re: ZLP sending request from gadget

2015-04-27 Thread Felipe Balbi
On Mon, Apr 27, 2015 at 10:57:24AM +0530, Anjana V Kumar wrote: > Hi Balbi, > > This is regarding the gadget serial (serial.c) deciding to send the > ZLP by setting req->zero to 1/0. > > The udc driver in our case decides to send the ZLP based on the > req->zero value set by the gadget. > > But

ZLP sending request from gadget

2015-04-26 Thread Anjana V Kumar
Hi Balbi, This is regarding the gadget serial (serial.c) deciding to send the ZLP by setting req->zero to 1/0. The udc driver in our case decides to send the ZLP based on the req->zero value set by the gadget. But we see that the serial gadget driver does not set req->zero. But others like u_eth