提交 50f741c8 编写于 作者: P Peter Chen 提交者: Felipe Balbi

usb: gadget: omap_udc: 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>
上级 a6c7c1c4
......@@ -2079,10 +2079,7 @@ static int omap_udc_start(struct usb_gadget *g,
&udc->gadget);
if (status < 0) {
ERR("can't bind to transceiver\n");
if (driver->unbind) {
driver->unbind(&udc->gadget);
udc->driver = NULL;
}
udc->driver = NULL;
goto done;
}
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册