]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
usb: hub: Parallelize power-cycling of root-hub ports
authorVivek Gautam <gautam.vivek@samsung.com>
Wed, 24 Apr 2013 02:50:11 +0000 (02:50 +0000)
committerMarek Vasut <marex@denx.de>
Mon, 6 May 2013 00:16:36 +0000 (02:16 +0200)
commit0bf796f7ae22086f0504f3297e9fb4e96aa04161
treeda2687cedbb27541feddf631b54ab3f1951614eb
parent158947d276c96a49e0a99a97a61605be1bb5eb7a
usb: hub: Parallelize power-cycling of root-hub ports

Untill now we power-cycle (aka: disable power on a port
and re-enabling again) one port at a time.
Delay of 20ms for Port-power to change multiplies with
number of ports in this case.
So better we parallelize this process:
disable power on all ports, wait for port-power to stabilize
and then re-enable the power subsequently.

Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
common/usb_hub.c