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 abbas_r...@mentor.com 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

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, On Sun, Jul

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 abbas_r...@mentor.com There are 2 methods

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

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

2014-07-06 Thread Abbas Raza
From: Abbas Raza abbas_r...@mentor.com 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

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 abbas_r...@mentor.com 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

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 abbas_r...@mentor.com There are 2 methods for ZLP (zero-length packet) generation: 1) In software 2) Automatic generation by device

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 abbas_r...@mentor.com There are 2 methods for ZLP (zero-length packet) generation: 1) In software 2)