Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 364640
b: refs/heads/master
c: fc2dba9
h: refs/heads/master
v: v3
  • Loading branch information
Felipe Balbi committed Mar 18, 2013
1 parent 8c6eb78 commit 0717b60
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 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: 42c82fb4d1658bb9630f6248178f79d8854c5bfd
refs/heads/master: fc2dba950b27e6ec412efb932458cd6abfe77940
2 changes: 0 additions & 2 deletions trunk/drivers/usb/gadget/fsl_qe_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2296,7 +2296,6 @@ static int fsl_qe_start(struct usb_gadget *gadget,
driver->driver.bus = NULL;
/* hook up the driver */
udc->driver = driver;
udc->gadget.dev.driver = &driver->driver;
udc->gadget.speed = driver->max_speed;

/* Enable IRQ reg and Set usbcmd reg EN bit */
Expand Down Expand Up @@ -2338,7 +2337,6 @@ static int fsl_qe_stop(struct usb_gadget *gadget,
nuke(loop_ep, -ESHUTDOWN);
spin_unlock_irqrestore(&udc->lock, flags);

udc->gadget.dev.driver = NULL;
udc->driver = NULL;

dev_info(udc->dev, "unregistered gadget driver '%s'\r\n",
Expand Down

0 comments on commit 0717b60

Please sign in to comment.