提交 21cbbc6b 编写于 作者: M Minas Harutyunyan 提交者: Felipe Balbi

usb: dwc2: gadget: fix packet drop issue for ISOC OUT transfers

In ISOC OUT transfer, when the OUT token received while EP disabled,
we shouldn't complete a usb request. The current flow completed one
usb request, this will lead to a packet drop to function driver.
Signed-off-by: NMinas Harutyunyan <hminas@synopsys.com>
Signed-off-by: NFelipe Balbi <felipe.balbi@linux.intel.com>
上级 61527777
...@@ -2756,8 +2756,6 @@ static void dwc2_gadget_handle_out_token_ep_disabled(struct dwc2_hsotg_ep *ep) ...@@ -2756,8 +2756,6 @@ static void dwc2_gadget_handle_out_token_ep_disabled(struct dwc2_hsotg_ep *ep)
*/ */
tmp = dwc2_hsotg_read_frameno(hsotg); tmp = dwc2_hsotg_read_frameno(hsotg);
dwc2_hsotg_complete_request(hsotg, ep, get_ep_head(ep), 0);
if (using_desc_dma(hsotg)) { if (using_desc_dma(hsotg)) {
if (ep->target_frame == TARGET_FRAME_INITIAL) { if (ep->target_frame == TARGET_FRAME_INITIAL) {
/* Start first ISO Out */ /* Start first ISO Out */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册