commit | 2e6e9e4b2ed70a9d7b1f860a349b5273ed73f9fa | [log] [tgz] |
---|---|---|
author | Thinh Nguyen <Thinh.Nguyen@synopsys.com> | Tue May 05 19:46:39 2020 -0700 |
committer | Felipe Balbi <balbi@kernel.org> | Mon May 25 11:09:41 2020 +0300 |
tree | d8ee13828bd7af9ba5cd61b2b254bb5984b41c7e | |
parent | b6842d4938c3101cb54dc262a6a89a5445f8fba8 [diff] |
usb: dwc3: gadget: Refactor TRB completion handler To prepare for handling of XferComplete event, let's refactor and split up dwc3_gadget_endpoint_transfer_in_progress() to handle TRBs completion for different events. The handling of TRBs completion will be the same, but the status of XferComplete event is different than XferInProgress. No functional change in this commit. Signed-off-by: Thinh Nguyen <thinhn@synopsys.com> Signed-off-by: Felipe Balbi <balbi@kernel.org>