Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2b755888 authored by Ivaylo Georgiev's avatar Ivaylo Georgiev
Browse files

Revert "usb: dwc3: Reset num_trbs after skipping"



This reverts commit 9c423fd8.

This is a preparation change for merging android-4.19.57 into
msm-4.19 branch.

Reverted due to BootTimeRunner regression.

Change-Id: I0ff19966bd09d7947a41aed9dec80058c57aafbc
Signed-off-by: default avatarIvaylo Georgiev <irgeorgiev@codeaurora.org>
parent 5b2dde5e
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1361,8 +1361,6 @@ static void dwc3_gadget_ep_skip_trbs(struct dwc3_ep *dep, struct dwc3_request *r
		trb->ctrl &= ~DWC3_TRB_CTRL_HWO;
		dwc3_ep_inc_deq(dep);
	}

	req->num_trbs = 0;
}

static void dwc3_gadget_ep_cleanup_cancelled_requests(struct dwc3_ep *dep)