Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 280841
b: refs/heads/master
c: 68d3e66
h: refs/heads/master
i:
  280839: c6fe7f6
v: v3
  • Loading branch information
Felipe Balbi committed Dec 12, 2011
1 parent 3817705 commit 2dd9dbf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c90bfaece97c18d1ad66b9d4c717b1cb55a647ad
refs/heads/master: 68d3e668d245bb8300c7c6ddbc8508ddfe352e0f
9 changes: 6 additions & 3 deletions trunk/drivers/usb/dwc3/ep0.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,13 @@ static int __dwc3_gadget_ep0_queue(struct dwc3_ep *dep,
req->request.dma, req->request.length, type);
dep->flags &= ~(DWC3_EP_PENDING_REQUEST |
DWC3_EP0_DIR_IN);

} else if (dwc->delayed_status && (dwc->ep0state == EP0_STATUS_PHASE)) {
} else if (dwc->delayed_status) {
dwc->delayed_status = false;
dwc3_ep0_do_control_status(dwc, 1);

if (dwc->ep0state == EP0_STATUS_PHASE)
dwc3_ep0_do_control_status(dwc, 1);
else
dev_dbg(dwc->dev, "too early for delayed status\n");
}

return ret;
Expand Down

0 comments on commit 2dd9dbf

Please sign in to comment.