Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
Revert "dwc3: Add check for sg queued trbs while reclaiming"
Browse files Browse the repository at this point in the history
This reverts commit f3dae06.

Change-Id: Ie869e14956b5623aee066a7533f4cd8133ff0b20
  • Loading branch information
mvaisakh committed Jun 10, 2023
1 parent ea1bb11 commit 68dc41d
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions drivers/usb/dwc3/gadget.c
Original file line number Diff line number Diff line change
Expand Up @@ -3277,13 +3277,7 @@ static int dwc3_gadget_ep_cleanup_completed_request(struct dwc3_ep *dep,
* processed by the core. Hence do not reclaim it until
* it is processed by the core.
*/
/*
* If sg transfer are in progress, avoid checking
* HWO bit here as these will get cleared during
* ep reclaim.
*/
if ((req->trb->ctrl & DWC3_TRB_CTRL_HWO)
&& (req->num_queued_sgs == 0)) {
if (req->trb->ctrl & DWC3_TRB_CTRL_HWO) {
dbg_event(0xFF, "PEND TRB", dep->number);
return 1;
}
Expand Down

0 comments on commit 68dc41d

Please sign in to comment.