diff options
author | Peter Chen <peter.chen@freescale.com> | 2014-05-21 09:04:17 +0800 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-06-30 13:25:17 -0500 |
commit | ed7a3a9d8f507a18ce80d942d5880fed30de4a38 (patch) | |
tree | 8606e0c07f6b61e008278f6001f656dd1d380301 /drivers/usb/gadget | |
parent | e44f1f4c04f273469b2a396f5f0fe03b5bb373d2 (diff) | |
download | op-kernel-dev-ed7a3a9d8f507a18ce80d942d5880fed30de4a38.zip op-kernel-dev-ed7a3a9d8f507a18ce80d942d5880fed30de4a38.tar.gz |
usb: gadget: fsl_udc_core: 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')
-rw-r--r-- | drivers/usb/gadget/fsl_udc_core.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/fsl_udc_core.c b/drivers/usb/gadget/fsl_udc_core.c index ccbb302..57944ee 100644 --- a/drivers/usb/gadget/fsl_udc_core.c +++ b/drivers/usb/gadget/fsl_udc_core.c @@ -1957,7 +1957,6 @@ static int fsl_udc_start(struct usb_gadget *g, &udc_controller->gadget); if (retval < 0) { ERR("can't bind to transceiver\n"); - driver->unbind(&udc_controller->gadget); udc_controller->driver = 0; return retval; } |