Re: [PATCH v4 12/12] usb: chipidea: udc: add multiple td support to hardware_{en,de}queue

2013-03-26 Thread Felipe Balbi
Hi, On Tue, Mar 26, 2013 at 05:58:48PM +0100, Michael Grzeschik wrote: > @@ -415,7 +409,19 @@ static int add_td_to_list(struct ci13xxx_ep *mEp, struct > ci13xxx_req *mReq, unsi > return -ENOMEM; > } > > - setup_td_bits(node, length); > + memset(node->ptr, 0, sizeof(s

[PATCH v4 12/12] usb: chipidea: udc: add multiple td support to hardware_{en,de}queue

2013-03-26 Thread Michael Grzeschik
This patch removes the limitation of having a limited amount of only four active tds on one endpoint. We use the linked list implementation to manage all tds which get added and removed by hardware_{en,de}queue. Signed-off-by: Michael Grzeschik --- Changes since v3: - rebased on the new alignmen