Hi, Thinh Nguyen <thinh.nguyen@xxxxxxxxxxxx> writes: > @@ -2250,7 +2250,7 @@ static int dwc3_gadget_ep_reclaim_completed_trb(struct dwc3_ep *dep, >> * with one TRB pending in the ring. We need to manually clear HWO bit >> * from that TRB. >> */ >> - if ((req->zero || req->unaligned) && !(trb->ctrl & DWC3_TRB_CTRL_CHN)) { >> + if (req->needs_extra_trb && !(trb->ctrl & DWC3_TRB_CTRL_CNH)) { > > DWC3_TRB_CTRL_CNH -> DWC3_TRB_CTRL_CHN right, fixed locally. -- balbi
Attachment:
signature.asc
Description: PGP signature