summaryrefslogtreecommitdiff
path: root/drivers/usb_ohci.c
diff options
context:
space:
mode:
authorMarkus Klotzbuecher <mk@denx.de>2007-04-23 13:13:30 +0200
committerMarkus Klotzbuecher <mk@pollux.denx.de>2007-04-23 13:13:30 +0200
commite2fb36a57f364016b973b1db255531e07cfefd52 (patch)
tree450ab5875c5c6399da6672f982ee169143107d1c /drivers/usb_ohci.c
parent72c5e39c835f8257f8833411773902ce0e1ccbc3 (diff)
parentd98c0885ad617fccf21e7c26ef8cb728fbfb2459 (diff)
downloadu-boot-imx-e2fb36a57f364016b973b1db255531e07cfefd52.zip
u-boot-imx-e2fb36a57f364016b973b1db255531e07cfefd52.tar.gz
u-boot-imx-e2fb36a57f364016b973b1db255531e07cfefd52.tar.bz2
Merge with /home/mk/git/u-boot-usb-hacking#testing
Diffstat (limited to 'drivers/usb_ohci.c')
-rw-r--r--drivers/usb_ohci.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/usb_ohci.c b/drivers/usb_ohci.c
index 1c3f622..70cb6a3 100644
--- 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 );