Re: [PATCH 2/2] usb: cdnsp: Fix lack of removing request from pending list.

2021-04-19 Thread Peter Chen
On 21-04-19 09:53:11, Pawel Laszczak wrote: > From: Pawel Laszczak > > Patch fixes lack of removing request from ep->pending_list on failure > of the stop endpoint command. Driver even after failing this command > must remove request from ep->pending_list. > Without this fix driver can stuck in c

[PATCH 2/2] usb: cdnsp: Fix lack of removing request from pending list.

2021-04-19 Thread Pawel Laszczak
From: Pawel Laszczak Patch fixes lack of removing request from ep->pending_list on failure of the stop endpoint command. Driver even after failing this command must remove request from ep->pending_list. Without this fix driver can stuck in cdnsp_gadget_ep_disable function in loop: while (