提交 9d2effea 编写于 作者: P Peter Chen

usb: chipidea: otg_fsm: delete the duplicated reset controller operation

At host_stop, it will call usb_remove_hcd, and reset controller later.
Signed-off-by: NPeter Chen <peter.chen@freescale.com>
上级 3520d462
......@@ -525,7 +525,6 @@ static int ci_otg_start_host(struct otg_fsm *fsm, int on)
ci_role_start(ci, CI_ROLE_HOST);
} else {
ci_role_stop(ci);
hw_device_reset(ci);
ci_role_start(ci, CI_ROLE_GADGET);
}
return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册