summaryrefslogtreecommitdiff
path: root/drivers/usb/host
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-11-08 23:47:57 -0700
committerSimon Glass <sjg@chromium.org>2015-11-19 20:27:51 -0700
commitba94e839119d15a3285a0c33ae24f401e997772d (patch)
tree301c2497f47e384a93181a4d7b239e0ad74e010a /drivers/usb/host
parent1b6a1dff71cd15b60823d924dd4623aeaadd3a2b (diff)
downloadu-boot-imx-ba94e839119d15a3285a0c33ae24f401e997772d.zip
u-boot-imx-ba94e839119d15a3285a0c33ae24f401e997772d.tar.gz
u-boot-imx-ba94e839119d15a3285a0c33ae24f401e997772d.tar.bz2
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>
Diffstat (limited to 'drivers/usb/host')
-rw-r--r--drivers/usb/host/usb-uclass.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/host/usb-uclass.c b/drivers/usb/host/usb-uclass.c
index 838d05a..89611f1 100644
--- a/drivers/usb/host/usb-uclass.c
+++ b/drivers/usb/host/usb-uclass.c
@@ -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