Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 265045
b: refs/heads/master
c: d95b09b
h: refs/heads/master
i:
  265043: 932736f
v: v3
  • Loading branch information
Felipe Balbi authored and Greg Kroah-Hartman committed Oct 4, 2011
1 parent 9026179 commit b7000fd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 2646021e1d5235c6c2143d27405fb057e5560d2b
refs/heads/master: d95b09b90187f06062c0ec9fa05ff3151bd3e0bb
8 changes: 4 additions & 4 deletions trunk/drivers/usb/dwc3/ep0.c
Original file line number Diff line number Diff line change
Expand Up @@ -525,15 +525,15 @@ static void dwc3_ep0_inspect_setup(struct dwc3 *dwc,

len = le16_to_cpu(ctrl->wLength);
if (!len) {
dwc->three_stage_setup = 0;
dwc->three_stage_setup = false;
dwc->ep0_expect_in = false;
dwc->ep0_next_event = DWC3_EP0_NRDY_STATUS;
} else {
dwc->three_stage_setup = 1;
dwc->three_stage_setup = true;
dwc->ep0_expect_in = !!(ctrl->bRequestType & USB_DIR_IN);
dwc->ep0_next_event = DWC3_EP0_NRDY_DATA;
}

dwc->ep0_expect_in = !!(ctrl->bRequestType & USB_DIR_IN);

if ((ctrl->bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD)
ret = dwc3_ep0_std_request(dwc, ctrl);
else
Expand Down

0 comments on commit b7000fd

Please sign in to comment.