Re: [PATCH 4/5] usb: chipidea: udc: manage dynamic amount of tds with an linked list

2013-03-07 Thread Peter Chen
On Fri, Mar 01, 2013 at 03:42:26PM +0100, Michael Grzeschik wrote: > Instead of having a limited number of usable tds in the udc we use a > linked list to support dynamic amount of needed tds for all special > gadget types. This improves throughput. > Is it better just allocate td at ep_queue? F

Re: [PATCH 4/5] usb: chipidea: udc: manage dynamic amount of tds with an linked list

2013-03-07 Thread Peter Chen
On Thu, Mar 07, 2013 at 09:16:12AM +0100, Michael Grzeschik wrote: > On Tue, Mar 05, 2013 at 04:40:12PM +0800, Peter Chen wrote: > > On Fri, Mar 01, 2013 at 03:42:26PM +0100, Michael Grzeschik wrote: > > > Instead of having a limited number of usable tds in the udc we use a > > > linked list to sup

Re: [PATCH 4/5] usb: chipidea: udc: manage dynamic amount of tds with an linked list

2013-03-07 Thread Michael Grzeschik
On Tue, Mar 05, 2013 at 04:40:12PM +0800, Peter Chen wrote: > On Fri, Mar 01, 2013 at 03:42:26PM +0100, Michael Grzeschik wrote: > > Instead of having a limited number of usable tds in the udc we use a > > linked list to support dynamic amount of needed tds for all special > > gadget types. This im

Re: [PATCH 4/5] usb: chipidea: udc: manage dynamic amount of tds with an linked list

2013-03-05 Thread Peter Chen
On Fri, Mar 01, 2013 at 03:42:26PM +0100, Michael Grzeschik wrote: > Instead of having a limited number of usable tds in the udc we use a > linked list to support dynamic amount of needed tds for all special > gadget types. This improves throughput. > > This patch also adresses a possible momory l

[PATCH 4/5] usb: chipidea: udc: manage dynamic amount of tds with an linked list

2013-03-01 Thread Michael Grzeschik
Instead of having a limited number of usable tds in the udc we use a linked list to support dynamic amount of needed tds for all special gadget types. This improves throughput. This patch also adresses a possible momory leak in _ep_nuke found while porting the request handling to an linked list.