提交 7a61612a 编写于 作者: P Peter Chen 提交者: Felipe Balbi

usb: gadget: m66592-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>
上级 3b0f069f
......@@ -1492,8 +1492,6 @@ static int m66592_udc_stop(struct usb_gadget *g,
m66592_bclr(m66592, M66592_VBSE | M66592_URST, M66592_INTENB0);
driver->unbind(&m66592->gadget);
init_controller(m66592);
disable_controller(m66592);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册