mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:11:14 -04:00
Merge "usb: dwc3: Set number of TRBs to 1 for endless request"
This commit is contained in:
commit
910e71ffc9
1 changed files with 1 additions and 1 deletions
|
|
@ -975,7 +975,7 @@ static int __dwc3_msm_ep_queue(struct dwc3_ep *dep, struct dwc3_request *req)
|
|||
memset(trb, 0, sizeof(*trb));
|
||||
|
||||
req->trb = trb;
|
||||
req->num_trbs++;
|
||||
req->num_trbs = 1;
|
||||
trb->bph = DBM_TRB_BIT | DBM_TRB_DMA | DBM_TRB_EP_NUM(dep->number);
|
||||
trb->size = DWC3_TRB_SIZE_LENGTH(req->request.length);
|
||||
trb->ctrl = DWC3_TRBCTL_NORMAL | DWC3_TRB_CTRL_HWO |
|
||||
|
|
|
|||
Loading…
Reference in a new issue