mirror of
https://xff.cz/git/u-boot/
synced 2025-09-04 18:22:02 +02:00
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:
@@ -158,9 +158,6 @@ int usb_stop(void)
|
|||||||
ret = device_remove(bus);
|
ret = device_remove(bus);
|
||||||
if (ret && !err)
|
if (ret && !err)
|
||||||
err = ret;
|
err = ret;
|
||||||
ret = device_unbind_children(bus);
|
|
||||||
if (ret && !err)
|
|
||||||
err = ret;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_SANDBOX
|
#ifdef CONFIG_SANDBOX
|
||||||
|
Reference in New Issue
Block a user