Loading drivers/usb/dwc3/gadget.c +8 −1 Original line number Diff line number Diff line Loading @@ -1029,6 +1029,9 @@ static struct dwc3_trb *dwc3_ep_prev_trb(struct dwc3_ep *dep, u8 index) { u8 tmp = index; if (!dep->trb_pool) return NULL; if (!tmp) tmp = DWC3_TRB_NUM - 1; Loading Loading @@ -1696,7 +1699,11 @@ int __dwc3_gadget_ep_set_halt(struct dwc3_ep *dep, int value, int protocol) else trb = &dwc->ep0_trb[dep->trb_enqueue]; if (trb) transfer_in_flight = trb->ctrl & DWC3_TRB_CTRL_HWO; else transfer_in_flight = false; started = !list_empty(&dep->started_list); if (!protocol && ((dep->direction && transfer_in_flight) || Loading Loading
drivers/usb/dwc3/gadget.c +8 −1 Original line number Diff line number Diff line Loading @@ -1029,6 +1029,9 @@ static struct dwc3_trb *dwc3_ep_prev_trb(struct dwc3_ep *dep, u8 index) { u8 tmp = index; if (!dep->trb_pool) return NULL; if (!tmp) tmp = DWC3_TRB_NUM - 1; Loading Loading @@ -1696,7 +1699,11 @@ int __dwc3_gadget_ep_set_halt(struct dwc3_ep *dep, int value, int protocol) else trb = &dwc->ep0_trb[dep->trb_enqueue]; if (trb) transfer_in_flight = trb->ctrl & DWC3_TRB_CTRL_HWO; else transfer_in_flight = false; started = !list_empty(&dep->started_list); if (!protocol && ((dep->direction && transfer_in_flight) || Loading