Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325958
b: refs/heads/master
c: 77fa6df
h: refs/heads/master
v: v3
  • Loading branch information
Felipe Balbi committed Aug 3, 2012
1 parent a4e25f9 commit 71f1b24
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 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: 4635d3f29864d723a74983339ffc85db212e304b
refs/heads/master: 77fa6df82f154535293beb9bc68851f75c2c22cb
12 changes: 3 additions & 9 deletions trunk/drivers/usb/dwc3/ep0.c
Original file line number Diff line number Diff line change
Expand Up @@ -953,19 +953,13 @@ static void dwc3_ep0_xfernotready(struct dwc3 *dwc,
break;

case DEPEVT_STATUS_CONTROL_STATUS:
if (dwc->ep0_next_event != DWC3_EP0_NRDY_STATUS)
return;

dev_vdbg(dwc->dev, "Control Status\n");

dwc->ep0state = EP0_STATUS_PHASE;

if (dwc->ep0_next_event != DWC3_EP0_NRDY_STATUS) {
dev_vdbg(dwc->dev, "Expected %d got %d\n",
dwc->ep0_next_event,
DWC3_EP0_NRDY_STATUS);

dwc3_ep0_stall_and_restart(dwc);
return;
}

if (dwc->delayed_status) {
WARN_ON_ONCE(event->endpoint_number != 1);
dev_vdbg(dwc->dev, "Mass Storage delayed status\n");
Expand Down

0 comments on commit 71f1b24

Please sign in to comment.