Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 280882
b: refs/heads/master
c: 25fa707
h: refs/heads/master
v: v3
  • Loading branch information
Kuninori Morimoto authored and Felipe Balbi committed Dec 12, 2011
1 parent 8c9c6a6 commit e392cea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 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: 17f7f76940214af91bfefcf9a2ca156701d905e6
refs/heads/master: 25fa70795bf11ef6f5b147f0b231a43880ba96ca
8 changes: 3 additions & 5 deletions trunk/drivers/usb/renesas_usbhs/mod_gadget.c
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,8 @@ static int usbhsg_recip_handler_std_clear_endpoint(struct usbhs_priv *priv,

usbhsg_recip_handler_std_control_done(priv, uep, ctrl);

usbhs_pkt_start(pipe);

return 0;
}

Expand Down Expand Up @@ -424,8 +426,7 @@ static int usbhsg_recip_run_handle(struct usbhs_priv *priv,
pipe = usbhsg_uep_to_pipe(uep);
if (!pipe) {
dev_err(dev, "wrong recip request\n");
ret = -EINVAL;
goto usbhsg_recip_run_handle_end;
return -EINVAL;
}

switch (recip) {
Expand All @@ -452,9 +453,6 @@ static int usbhsg_recip_run_handle(struct usbhs_priv *priv,
ret = func(priv, uep, ctrl);
}

usbhsg_recip_run_handle_end:
usbhs_pkt_start(pipe);

return ret;
}

Expand Down

0 comments on commit e392cea

Please sign in to comment.