Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 303787
b: refs/heads/master
c: fab1137
h: refs/heads/master
i:
  303785: 3a77daa
  303783: 7803604
v: v3
  • Loading branch information
Ido Shayevitz authored and Felipe Balbi committed May 4, 2012
1 parent 8118378 commit a762b40
Show file tree
Hide file tree
Showing 3 changed files with 3 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: 79149b8bd0270a268344300a77a2dd3f51039f14
refs/heads/master: fab1137f63c417da02406a3a97c77790e6d06e6f
4 changes: 2 additions & 2 deletions trunk/drivers/usb/gadget/fusb300_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ static int config_ep(struct fusb300_ep *ep,
struct fusb300 *fusb300 = ep->fusb300;
struct fusb300_ep_info info;

ep->desc = desc;
ep->ep.desc = desc;

info.interval = 0;
info.addrofs = 0;
Expand Down Expand Up @@ -443,7 +443,7 @@ static int fusb300_queue(struct usb_ep *_ep, struct usb_request *_req,
req->req.actual = 0;
req->req.status = -EINPROGRESS;

if (ep->desc == NULL) /* ep0 */
if (ep->ep.desc == NULL) /* ep0 */
ep0_queue(ep, req);
else if (request && !ep->stall)
enable_fifo_int(ep);
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/usb/gadget/fusb300_udc.h
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,6 @@ struct fusb300_ep {

unsigned char epnum;
unsigned char type;
const struct usb_endpoint_descriptor *desc;
};

struct fusb300 {
Expand Down

0 comments on commit a762b40

Please sign in to comment.