提交 ed7a3a9d 编写于 作者: P Peter Chen 提交者: 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: NPeter Chen <peter.chen@freescale.com>
Signed-off-by: NFelipe Balbi <balbi@ti.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册