commit | d9feef974e0d8cb6842533c92476a1b32a41ba31 | [log] [tgz] |
---|---|---|
author | Thinh Nguyen <Thinh.Nguyen@synopsys.com> | Tue Mar 31 01:40:42 2020 -0700 |
committer | Felipe Balbi <balbi@kernel.org> | Mon May 25 11:09:36 2020 +0300 |
tree | 61ca1233318d23bc8bcb8daaaeb01b46073d165f | |
parent | ac82b56bda5fe8a851b8ab18df380d74e9b7fca2 [diff] |
usb: dwc3: gadget: Continue to process pending requests If there are still pending requests because no TRB was available, prepare more when started requests are completed. Introduce dwc3_gadget_ep_should_continue() to check for incomplete and pending requests to resume updating new TRBs to the controller's TRB cache. Signed-off-by: Thinh Nguyen <thinhn@synopsys.com> Signed-off-by: Felipe Balbi <balbi@kernel.org>