Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348663
b: refs/heads/master
c: 5848294
h: refs/heads/master
i:
  348661: 7281bec
  348659: 5c3709d
  348655: ed14e33
v: v3
  • Loading branch information
Kuninori Morimoto authored and Felipe Balbi committed Dec 13, 2012
1 parent ed62750 commit ea69664
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 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: 1604c1e760119ab3fe9f71679ebaeb058d3d8ae1
refs/heads/master: 584829459bd4421f0f57d11a6ceeef096ec81d08
11 changes: 1 addition & 10 deletions trunk/drivers/usb/renesas_usbhs/mod_gadget.c
Original file line number Diff line number Diff line change
Expand Up @@ -545,15 +545,6 @@ static int usbhsg_pipe_disable(struct usbhsg_uep *uep)
return 0;
}

static void usbhsg_uep_init(struct usbhsg_gpriv *gpriv)
{
int i;
struct usbhsg_uep *uep;

usbhsg_for_each_uep_with_dcp(uep, gpriv, i)
uep->pipe = NULL;
}

/*
*
* usb_ep_ops
Expand Down Expand Up @@ -761,7 +752,6 @@ static int usbhsg_try_start(struct usbhs_priv *priv, u32 status)
usbhs_pipe_init(priv,
usbhsg_dma_map_ctrl);
usbhs_fifo_init(priv);
usbhsg_uep_init(gpriv);

/* dcp init */
dcp->pipe = usbhs_dcp_malloc(priv);
Expand Down Expand Up @@ -998,6 +988,7 @@ int usbhs_mod_gadget_probe(struct usbhs_priv *priv)
*/
usbhsg_for_each_uep_with_dcp(uep, gpriv, i) {
uep->gpriv = gpriv;
uep->pipe = NULL;
snprintf(uep->ep_name, EP_NAME_SIZE, "ep%d", i);

uep->ep.name = uep->ep_name;
Expand Down

0 comments on commit ea69664

Please sign in to comment.