diff options
author | Peter Chen <peter.chen@freescale.com> | 2014-05-21 09:04:18 +0800 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-06-30 13:25:18 -0500 |
commit | 3b0f069fa3c4b26c7d9e90a0921881e08eff6674 (patch) | |
tree | 043d3a6bae826049189f7f9905bb77445e4169ee /drivers/usb/gadget/fusb300_udc.c | |
parent | ed7a3a9d8f507a18ce80d942d5880fed30de4a38 (diff) |
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/usb/gadget/fusb300_udc.c')
-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 d8e2c0c40106..d40255f784df 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; |