projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4efefe
)
dm: usb: Remove no longer needed blk_unbind_all()
author
Bin Meng
<bmeng.cn@gmail.com>
Sun, 1 Oct 2017 13:19:43 +0000
(06:19 -0700)
committer
Marek Vasut
<marex@denx.de>
Sun, 1 Oct 2017 14:32:51 +0000
(16:32 +0200)
With the root hub unbinding in usb_stop(), there is no need to do
a blk uclass specific unbind operation.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
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 8a9f810bf81c8c067096cb76ab2e68ff72c36801..bfc0556d7d660a6215475356848340db63c65350 100644
(file)
--- a/
drivers/usb/host/usb-uclass.c
+++ b/
drivers/usb/host/usb-uclass.c
@@
-193,11
+193,7
@@
int usb_stop(void)
err = ret;
}
}
-#ifdef CONFIG_BLK
- ret = blk_unbind_all(IF_TYPE_USB);
- if (ret && !err)
- err = ret;
-#endif
+
#ifdef CONFIG_SANDBOX
struct udevice *dev;