Browse Source

del noused usb delay.

Change-Id: I5b221f9148e21a2ca0cfb004d1fa333911464a15
Signed-off-by: QiaoChong <qiaochong@loongson.cn>
master
QiaoChong 6 years ago
committed by Chong Qiao
parent
commit
cb9cbbef07
  1. 4
      sys/dev/usb/usb.c

4
sys/dev/usb/usb.c

@ -1714,7 +1714,7 @@ static int hub_port_reset(struct usb_device *dev, int port,
}
usb_clear_port_feature(dev, port + 1, USB_PORT_FEAT_C_RESET);
wait_ms(500);
//wait_ms(500);
*portstat = portstatus;
return 0;
@ -1792,7 +1792,7 @@ void usb_hub_port_connect_change(struct usb_device *dev, int port)
}
//wait_ms(200);
wait_ms(400);
//wait_ms(400);
/* Allocate a new device struct for it */
assert(dev->hc_private!=NULL);
usb=usb_alloc_new_device(dev->hc_private);

Loading…
Cancel
Save