提交 ba94e839 编写于 作者: S Simon Glass

Revert "dm: usb: Use device_unbind_children to clean up usb devs on stop"

This reverts commit 6cda3695.

We want to avoid having the USB stack rely on unbind.
Signed-off-by: NSimon Glass <sjg@chromium.org>
上级 1b6a1dff
......@@ -158,9 +158,6 @@ int usb_stop(void)
ret = device_remove(bus);
if (ret && !err)
err = ret;
ret = device_unbind_children(bus);
if (ret && !err)
err = ret;
}
#ifdef CONFIG_SANDBOX
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册