Re: [PATCH v2 1/5] usb: gadget: u_audio: Free requests only after callback

2021-01-07 Thread Felipe Balbi
Jerome Brunet writes: > From: Jack Pham > > As per the kernel doc for usb_ep_dequeue(), it states that "this > routine is asynchronous, that is, it may return before the completion > routine runs". And indeed since v5.0 the dwc3 gadget driver updated > its behavior to place dequeued requests on

[PATCH v2 1/5] usb: gadget: u_audio: Free requests only after callback

2021-01-06 Thread Jerome Brunet
From: Jack Pham As per the kernel doc for usb_ep_dequeue(), it states that "this routine is asynchronous, that is, it may return before the completion routine runs". And indeed since v5.0 the dwc3 gadget driver updated its behavior to place dequeued requests on to a cancelled list to be given