Re: [PATCH] usb/dwc3: fix ep->maxburst for ep0

2013-01-17 Thread Pratyush Anand
Hi, On Thu, Jan 17, 2013 at 5:25 PM, Felipe Balbi wrote: > > Hi, > > On Thu, Jan 17, 2013 at 04:34:45PM +0530, Pratyush Anand wrote: > > Hi Felip, > > > > On 1/17/2013 4:14 PM, Pratyush ANAND wrote: > > >dwc3_gadget_set_ep_config expects maxburst as incremented by 1. So, by > > >default initializ

Re: [PATCH] usb/dwc3: fix ep->maxburst for ep0

2013-01-17 Thread Felipe Balbi
Hi, On Thu, Jan 17, 2013 at 04:34:45PM +0530, Pratyush Anand wrote: > Hi Felip, > > On 1/17/2013 4:14 PM, Pratyush ANAND wrote: > >dwc3_gadget_set_ep_config expects maxburst as incremented by 1. So, by > >default initialize ep->maxburst to 0 for ep0. > > > > Although , this patch fixes issue of

Re: [PATCH] usb/dwc3: fix ep->maxburst for ep0

2013-01-17 Thread Pratyush Anand
On 1/17/2013 4:27 PM, Felipe Balbi wrote: On Thu, Jan 17, 2013 at 04:14:38PM +0530, Pratyush Anand wrote: dwc3_gadget_set_ep_config expects maxburst as incremented by 1. So, by default initialize ep->maxburst to 0 for ep0. to 0 or to 1 ? ohh..yes to 1 ;) But do we really need it..or we sho

Re: [PATCH] usb/dwc3: fix ep->maxburst for ep0

2013-01-17 Thread Pratyush Anand
Hi Felip, On 1/17/2013 4:14 PM, Pratyush ANAND wrote: dwc3_gadget_set_ep_config expects maxburst as incremented by 1. So, by default initialize ep->maxburst to 0 for ep0. Although , this patch fixes issue of maxburst for default control endpoint. But, I could not understand purpose of follow

Re: [PATCH] usb/dwc3: fix ep->maxburst for ep0

2013-01-17 Thread Felipe Balbi
On Thu, Jan 17, 2013 at 04:14:38PM +0530, Pratyush Anand wrote: > dwc3_gadget_set_ep_config expects maxburst as incremented by 1. So, by > default initialize ep->maxburst to 0 for ep0. to 0 or to 1 ? -- balbi signature.asc Description: Digital signature