Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
jz4740_udc.c: don't unbind the gadget driver in jz4740_udc_stop
This caused rmmod to oops.
  • Loading branch information
wpwrak committed May 9, 2013
1 parent db73cac commit dda7785
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/usb/gadget/jz4740_udc.c
Expand Up @@ -484,8 +484,6 @@ static int jz4740_udc_stop(struct usb_gadget *g,
stop_activity(dev, driver);
spin_unlock_irqrestore(&dev->lock, flags);

driver->unbind(&dev->gadget);

udc_disable(dev);

DEBUG("unregistered driver '%s'\n", driver->driver.name);
Expand Down

0 comments on commit dda7785

Please sign in to comment.