Revert "dm: usb: Use device_unbind_children to clean up usb devs on stop"
This reverts commit 6cda369509
.
We want to avoid having the USB stack rely on unbind.
Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
1b6a1dff71
commit
ba94e83911
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user