[PATCH 1/1] usb: chipidea: udc: delete td from req's td list at ep_dequeue

2014-07-01 Thread Peter Chen
We need to delete un-finished td from current request's td list at ep_dequeue API, otherwise, this non-user td will be remained at td list before this request is freed. So if we do ep_queue-> ep_dequeue->ep_queue sequence, when the complete interrupt for the second ep_queue comes, we search td list

Re: [PATCH 1/1] usb: chipidea: udc: delete td from req's td list at ep_dequeue

2014-06-30 Thread Peter Chen
On Mon, Jun 30, 2014 at 09:11:11AM +0200, Andrzej Pietrasiewicz wrote: > Hello Peter, > > W dniu 30.06.2014 06:15, Peter Chen pisze: > >We need to delete un-finished td from current request's td list > >at ep_dequeue API, otherwise, this non-user td will be remained > >at td list before this reque

Re: [PATCH 1/1] usb: chipidea: udc: delete td from req's td list at ep_dequeue

2014-06-30 Thread Peter Chen
On Mon, Jun 30, 2014 at 02:19:04PM +0200, Michael Grzeschik wrote: > On Mon, Jun 30, 2014 at 12:15:03PM +0800, Peter Chen wrote: > > We need to delete un-finished td from current request's td list > > at ep_dequeue API, otherwise, this non-user td will be remained > > at td list before this request

Re: [PATCH 1/1] usb: chipidea: udc: delete td from req's td list at ep_dequeue

2014-06-30 Thread Michael Grzeschik
On Mon, Jun 30, 2014 at 12:15:03PM +0800, Peter Chen wrote: > We need to delete un-finished td from current request's td list > at ep_dequeue API, otherwise, this non-user td will be remained > at td list before this request is freed. So if we do ep_queue-> > ep_dequeue->ep_queue sequence, when the

Re: [PATCH 1/1] usb: chipidea: udc: delete td from req's td list at ep_dequeue

2014-06-30 Thread Andrzej Pietrasiewicz
Hello Peter, W dniu 30.06.2014 06:15, Peter Chen pisze: We need to delete un-finished td from current request's td list at ep_dequeue API, otherwise, this non-user td will be remained at td list before this request is freed. So if we do ep_queue-> ep_dequeue->ep_queue sequence, when the complete

[PATCH 1/1] usb: chipidea: udc: delete td from req's td list at ep_dequeue

2014-06-29 Thread Peter Chen
We need to delete un-finished td from current request's td list at ep_dequeue API, otherwise, this non-user td will be remained at td list before this request is freed. So if we do ep_queue-> ep_dequeue->ep_queue sequence, when the complete interrupt for the second ep_queue comes, we search td list

[PATCH 1/1] usb: chipidea: udc: delete td from req's td list at ep_dequeue

2014-05-28 Thread Peter Chen
We need to delete un-finished td from current request's td list at ep_dequeue API, otherwise, this non-user td will be remained at td list before this request is freed. So if we do ep_queue-> ep_dequeue->ep_queue sequence, when the complete interrupt for the second ep_queue comes, we search td list