mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-17 15:27:00 +00:00
USB: (Another) delay for crappy USB keys.
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>
This commit is contained in:
parent
822af351ad
commit
d98c0885ad
1 changed files with 3 additions and 1 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Reference in a new issue