Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 276334
b: refs/heads/master
c: 8885a89
h: refs/heads/master
v: v3
  • Loading branch information
Kuninori Morimoto authored and Greg Kroah-Hartman committed Nov 29, 2011
1 parent be84d65 commit 68f2047
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f8eff0a06116aee127152674e9ea9c51aecf6b69
refs/heads/master: 8885a897c26b2f63e1bbb6fa7bd9da3a73a09113
7 changes: 7 additions & 0 deletions trunk/drivers/usb/renesas_usbhs/mod_gadget.c
Original file line number Diff line number Diff line change
Expand Up @@ -805,6 +805,13 @@ static int usbhsg_start(struct usbhs_priv *priv)

static int usbhsg_stop(struct usbhs_priv *priv)
{
struct usbhsg_gpriv *gpriv = usbhsg_priv_to_gpriv(priv);

/* cable disconnect */
if (gpriv->driver &&
gpriv->driver->disconnect)
gpriv->driver->disconnect(&gpriv->gadget);

return usbhsg_try_stop(priv, USBHSG_STATUS_STARTED);
}

Expand Down

0 comments on commit 68f2047

Please sign in to comment.