Re: [PATCH] usb: chipidea: udc: Disable auto ZLP generation on ep0

2014-07-14 Thread Peter Chen
On Sun, Jul 06, 2014 at 09:26:02PM +0500, Abbas Raza wrote: > From: Abbas Raza > > There are 2 methods for ZLP (zero-length packet) generation: > 1) In software > 2) Automatic generation by device controller > > 1) is implemented in UDC driver and it attaches ZLP to IN packet if >descriptor-

Re: [PATCH] usb: chipidea: udc: Disable auto ZLP generation on ep0

2014-07-08 Thread Michael Grzeschik
On Mon, Jul 07, 2014 at 04:22:08PM +0500, Abbas Raza wrote: > On 07/07/2014 02:37 PM, Michael Grzeschik wrote: > >On Sun, Jul 06, 2014 at 11:47:50PM +0500, Abbas Raza wrote: > >>On 07/06/2014 11:01 PM, Greg KH wrote: > >>>On Sun, Jul 06, 2014 at 07:52:41PM +0200, Michael Grzeschik wrote: > Hi,

Re: [PATCH] usb: chipidea: udc: Disable auto ZLP generation on ep0

2014-07-07 Thread Abbas Raza
On 07/07/2014 02:37 PM, Michael Grzeschik wrote: On Sun, Jul 06, 2014 at 11:47:50PM +0500, Abbas Raza wrote: On 07/06/2014 11:01 PM, Greg KH wrote: On Sun, Jul 06, 2014 at 07:52:41PM +0200, Michael Grzeschik wrote: Hi, On Sun, Jul 06, 2014 at 09:26:02PM +0500, Abbas Raza wrote: From: Abbas R

Re: [PATCH] usb: chipidea: udc: Disable auto ZLP generation on ep0

2014-07-07 Thread Michael Grzeschik
On Sun, Jul 06, 2014 at 11:47:50PM +0500, Abbas Raza wrote: > On 07/06/2014 11:01 PM, Greg KH wrote: > >On Sun, Jul 06, 2014 at 07:52:41PM +0200, Michael Grzeschik wrote: > >>Hi, > >> > >>On Sun, Jul 06, 2014 at 09:26:02PM +0500, Abbas Raza wrote: > >>>From: Abbas Raza > >>> > >>>There are 2 metho

Re: [PATCH] usb: chipidea: udc: Disable auto ZLP generation on ep0

2014-07-06 Thread Abbas Raza
On 07/06/2014 11:01 PM, Greg KH wrote: On Sun, Jul 06, 2014 at 07:52:41PM +0200, Michael Grzeschik wrote: Hi, On Sun, Jul 06, 2014 at 09:26:02PM +0500, Abbas Raza wrote: From: Abbas Raza There are 2 methods for ZLP (zero-length packet) generation: 1) In software 2) Automatic generation by de

Re: [PATCH] usb: chipidea: udc: Disable auto ZLP generation on ep0

2014-07-06 Thread Greg KH
On Sun, Jul 06, 2014 at 07:52:41PM +0200, Michael Grzeschik wrote: > Hi, > > On Sun, Jul 06, 2014 at 09:26:02PM +0500, Abbas Raza wrote: > > From: Abbas Raza > > > > There are 2 methods for ZLP (zero-length packet) generation: > > 1) In software > > 2) Automatic generation by device controller >

Re: [PATCH] usb: chipidea: udc: Disable auto ZLP generation on ep0

2014-07-06 Thread Michael Grzeschik
Hi, On Sun, Jul 06, 2014 at 09:26:02PM +0500, Abbas Raza wrote: > From: Abbas Raza > > There are 2 methods for ZLP (zero-length packet) generation: > 1) In software > 2) Automatic generation by device controller > > 1) is implemented in UDC driver and it attaches ZLP to IN packet if >descri

[PATCH] usb: chipidea: udc: Disable auto ZLP generation on ep0

2014-07-06 Thread Abbas Raza
From: Abbas Raza There are 2 methods for ZLP (zero-length packet) generation: 1) In software 2) Automatic generation by device controller 1) is implemented in UDC driver and it attaches ZLP to IN packet if descriptor->size < wLength 2) can be enabled/disabled by setting ZLT bit in the QH Whe