Commit ed7a3a9d authored by Peter Chen's avatar Peter Chen Committed by Felipe Balbi

usb: gadget: fsl_udc_core: should not call gadget driver's .unbind

It has already been covered by udc core
Signed-off-by: default avatarPeter Chen <peter.chen@freescale.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent e44f1f4c
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment