diff options
author | Peter Chen <peter.chen@freescale.com> | 2014-05-21 01:04:18 (GMT) |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-06-30 18:25:18 (GMT) |
commit | 3b0f069fa3c4b26c7d9e90a0921881e08eff6674 (patch) | |
tree | 043d3a6bae826049189f7f9905bb77445e4169ee /drivers | |
parent | ed7a3a9d8f507a18ce80d942d5880fed30de4a38 (diff) | |
download | linux-3b0f069fa3c4b26c7d9e90a0921881e08eff6674.tar.xz |
usb: gadget: fusb300_udc: should not call gadget driver's .unbind
It has already been covered by udc core
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/gadget/fusb300_udc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/gadget/fusb300_udc.c b/drivers/usb/gadget/fusb300_udc.c index d8e2c0c..d40255f 100644 --- a/drivers/usb/gadget/fusb300_udc.c +++ b/drivers/usb/gadget/fusb300_udc.c @@ -1325,8 +1325,6 @@ static int fusb300_udc_stop(struct usb_gadget *g, { struct fusb300 *fusb300 = to_fusb300(g); - driver->unbind(&fusb300->gadget); - init_controller(fusb300); fusb300->driver = NULL; |