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:
822af35
)
USB: (Another) delay for crappy USB keys.
author
Rodolfo Giometti
<giometti@enneenne.com>
Mon, 23 Apr 2007 11:10:52 +0000
(13:10 +0200)
committer
Markus Klotzbuecher
<mk@pollux.denx.de>
Mon, 23 Apr 2007 11:10:52 +0000
(13:10 +0200)
Some USB keys are slow in giving back an answer when the Root HUB
enables power lines.
Signed-off-by: Rodolfo Giometti <giometti@linux.it>
drivers/usb_ohci.c
patch
|
blob
|
history
diff --git
a/drivers/usb_ohci.c
b/drivers/usb_ohci.c
index 1c3f622d547e8de784c09d62a936582ed08fac07..70cb6a3846240f47f3c121827da2f63177eacd7a 100644
(file)
--- a/
drivers/usb_ohci.c
+++ b/
drivers/usb_ohci.c
@@
-1169,7
+1169,9
@@
pkt_print(dev, pipe, buffer, transfer_len, cmd, "SUB(rh)", usb_pipein(pipe));
WR_RH_PORTSTAT (RH_PS_PRS);
OK (0);
case (RH_PORT_POWER):
- WR_RH_PORTSTAT (RH_PS_PPS ); OK (0);
+ WR_RH_PORTSTAT (RH_PS_PPS );
+ wait_ms(100);
+ OK (0);
case (RH_PORT_ENABLE): /* BUG IN HUP CODE *********/
if (RD_RH_PORTSTAT & RH_PS_CCS)
WR_RH_PORTSTAT (RH_PS_PES );