Commit ba94e839 authored by Simon Glass's avatar Simon Glass
Browse files

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: Simon Glass's avatarSimon Glass <sjg@chromium.org>
parent 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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment