Hi,
Tejas Joglekar Tejas.Joglekar@synopsys.com writes:
This patch corrects the condition to kick the transfer without giving back the requests when either request has remaining data or when there are pending SGs. The && check was introduced during spliting up the dwc3_gadget_ep_cleanup_completed_requests() function.
Fixes: f38e35dd84e2 ("usb: dwc3: gadget: split dwc3_gadget_ep_cleanup_completed_requests()")
Cc: stable@vger.kernel.org Signed-off-by: Tejas Joglekar joglekar@synopsys.com
Indeed this is a very important fix :-)
I'll queue it up.