summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2014-05-21 09:04:17 +0800
committerFelipe Balbi <balbi@ti.com>2014-06-30 13:25:17 -0500
commited7a3a9d8f507a18ce80d942d5880fed30de4a38 (patch)
tree8606e0c07f6b61e008278f6001f656dd1d380301 /drivers/usb/gadget
parente44f1f4c04f273469b2a396f5f0fe03b5bb373d2 (diff)
downloadtalos-obmc-linux-ed7a3a9d8f507a18ce80d942d5880fed30de4a38.tar.gz
talos-obmc-linux-ed7a3a9d8f507a18ce80d942d5880fed30de4a38.zip
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.c1
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 ccbb3023cf42..57944ee8ad90 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;
}
OpenPOWER on IntegriCloud