|
@@ -854,7 +854,12 @@ static void dwc3_ep0_complete_data(struct dwc3 *dwc,
|
|
trb++;
|
|
trb++;
|
|
trb->ctrl &= ~DWC3_TRB_CTRL_HWO;
|
|
trb->ctrl &= ~DWC3_TRB_CTRL_HWO;
|
|
trace_dwc3_complete_trb(ep0, trb);
|
|
trace_dwc3_complete_trb(ep0, trb);
|
|
- ep0->trb_enqueue = 0;
|
|
|
|
|
|
+
|
|
|
|
+ if (r->direction)
|
|
|
|
+ dwc->eps[1]->trb_enqueue = 0;
|
|
|
|
+ else
|
|
|
|
+ dwc->eps[0]->trb_enqueue = 0;
|
|
|
|
+
|
|
dwc->ep0_bounced = false;
|
|
dwc->ep0_bounced = false;
|
|
}
|
|
}
|
|
|
|
|