Commit ba94e839119d15a3285a0c33ae24f401e997772d

Authored by Simon Glass
1 parent 1b6a1dff71

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>

Showing 1 changed file with 0 additions and 3 deletions Side-by-side Diff

drivers/usb/host/usb-uclass.c
... ... @@ -158,9 +158,6 @@
158 158 ret = device_remove(bus);
159 159 if (ret && !err)
160 160 err = ret;
161   - ret = device_unbind_children(bus);
162   - if (ret && !err)
163   - err = ret;
164 161 }
165 162  
166 163 #ifdef CONFIG_SANDBOX