Hi, Thinh Nguyen <Thinh.Nguyen@xxxxxxxxxxxx> writes: > We only care to resume transfer for SG because the request maybe > partially completed. dwc3_gadget_ep_request_completed() doesn't check > that of a request, at least not fully. > > 1) It doesn't account for OUT direction. > 2) It doesn't account for isoc. For isoc, a request maybe completed with > partial data. I would rather fix the function for these cases instead of removing it completely. While at that, also move the req->num_pending_sgs check inside dwc3_gadget_ep_request_completed() -- balbi
Attachment:
signature.asc
Description: PGP signature