Skip to content
Snippets Groups Projects
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: default avatarSimon Glass <sjg@chromium.org>
parent 1b6a1dff
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment