projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b6a1df
)
Revert "dm: usb: Use device_unbind_children to clean up usb devs on stop"
author
Simon Glass
<sjg@chromium.org>
Mon, 9 Nov 2015 06:47:57 +0000
(23:47 -0700)
committer
Simon Glass
<sjg@chromium.org>
Fri, 20 Nov 2015 03:27:51 +0000
(20:27 -0700)
This reverts commit
6cda369509e0d3fa5f9e33c9d71589c4523799fa
.
We want to avoid having the USB stack rely on unbind.
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/usb/host/usb-uclass.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/usb-uclass.c
b/drivers/usb/host/usb-uclass.c
index 838d05af755b4fcc8868839eeb83cc753ac537e9..89611f1c328bdd8a7b5f0462798238533f2a73be 100644
(file)
--- 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