projects
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff9f475
)
MX31: add delay between USB port setup and reset
author
Stefano Babic
<sbabic@denx.de>
Mon, 18 Oct 2010 08:23:05 +0000
(10:23 +0200)
committer
Stefano Babic
<sbabic@denx.de>
Mon, 18 Oct 2010 13:21:36 +0000
(15:21 +0200)
Sometimes a usb tree is not popolated after a system reset.
It seems a delay is required after setting the USB ports
for the MX.31 before resetting the ehci controller.
Signed-off-by: Stefano Babic <sbabic@denx.de>
drivers/usb/host/ehci-mxc.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/ehci-mxc.c
b/drivers/usb/host/ehci-mxc.c
index
af8ee90
..
8d7b380
100644
(file)
--- a/
drivers/usb/host/ehci-mxc.c
+++ b/
drivers/usb/host/ehci-mxc.c
@@
-117,6
+117,8
@@
int ehci_hcd_init(void)
mxc_set_usbcontrol(CONFIG_MXC_USB_PORT, CONFIG_MXC_USB_FLAGS);
+ udelay(10000);
+
return 0;
}