mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-09-29 17:51:26 +02:00
Revert "dm: usb: Use device_unbind_children to clean up usb devs on stop"
This reverts commit 6cda369509e0d3fa5f9e33c9d71589c4523799fa. 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);
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user