diff options
author | Peter Chen <peter.chen@freescale.com> | 2014-05-21 03:04:18 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-06-30 20:25:18 +0200 |
commit | 3b0f069fa3c4b26c7d9e90a0921881e08eff6674 (patch) | |
tree | 043d3a6bae826049189f7f9905bb77445e4169ee | |
parent | usb: gadget: fsl_udc_core: should not call gadget driver's .unbind (diff) | |
download | linux-3b0f069fa3c4b26c7d9e90a0921881e08eff6674.tar.xz linux-3b0f069fa3c4b26c7d9e90a0921881e08eff6674.zip |
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>
-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; |