Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 280839
b: refs/heads/master
c: e261779
h: refs/heads/master
i:
  280837: 800a447
  280835: 95ce9af
  280831: 0c975dc
v: v3
  • Loading branch information
Felipe Balbi committed Dec 12, 2011
1 parent 6156106 commit c6fe7f6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 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: e0ce0b0a0ae5a31ee96b38a7c5390f867634b4f6
refs/heads/master: e2617796053437df586c53e462076f74bcf268b4
7 changes: 5 additions & 2 deletions trunk/drivers/usb/dwc3/ep0.c
Original file line number Diff line number Diff line change
Expand Up @@ -302,11 +302,14 @@ static int dwc3_ep0_handle_status(struct dwc3 *dwc,

response_pkt = (__le16 *) dwc->setup_buf;
*response_pkt = cpu_to_le16(usb_status);

dep = dwc->eps[0];
dwc->ep0_usb_req.dep = dep;
dwc->ep0_usb_req.request.length = sizeof(*response_pkt);
dwc->ep0_usb_req.request.dma = dwc->setup_buf_addr;
dwc->ep0_usb_req.request.complete = dwc3_ep0_status_cmpl;
return usb_ep_queue(&dwc->eps[0]->endpoint, &dwc->ep0_usb_req.request,
GFP_ATOMIC);

return __dwc3_gadget_ep0_queue(dep, &dwc->ep0_usb_req);
}

static int dwc3_ep0_handle_feature(struct dwc3 *dwc,
Expand Down

0 comments on commit c6fe7f6

Please sign in to comment.