Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 115806
b: refs/heads/master
c: 825bee3
h: refs/heads/master
v: v3
  • Loading branch information
Will Newton authored and Greg Kroah-Hartman committed Oct 17, 2008
1 parent 73eb70e commit 6cbef5c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 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: c93eebbe75a560bb27dc1f09fb1ab7a31d04b990
refs/heads/master: 825bee3a3340e720485ef4bde98cbb62e18cb547
10 changes: 3 additions & 7 deletions trunk/drivers/usb/gadget/fsl_usb2_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1165,16 +1165,12 @@ static int ep0_prime_status(struct fsl_udc *udc, int direction)
return status;
}

static inline int udc_reset_ep_queue(struct fsl_udc *udc, u8 pipe)
static void udc_reset_ep_queue(struct fsl_udc *udc, u8 pipe)
{
struct fsl_ep *ep = get_ep_by_pipe(udc, pipe);

if (!ep->name)
return 0;

nuke(ep, -ESHUTDOWN);

return 0;
if (ep->name)
nuke(ep, -ESHUTDOWN);
}

/*
Expand Down

0 comments on commit 6cbef5c

Please sign in to comment.