]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ehci: speed up initialization
authorVincent Palatin <vpalatin@chromium.org>
Mon, 5 Dec 2011 22:52:22 +0000 (14:52 -0800)
committerRemy Bohmer <linux@bohmer.net>
Sun, 11 Dec 2011 13:42:57 +0000 (14:42 +0100)
commit5f4b4f2fed3ab8590c8c06b78642f8c1467acacf
treecca588fe85801f3edfefd897a8c67a5880c240bb
parent1af9f9633759a5f60e8b8bd4fcdb17a3d1aece5f
ehci: speed up initialization

According to EHCI specification v1.0, the controller should stabilize
the power on a port at most 20 ms after the port power bit transition.
So, we put this setting in the virtual descriptor corresponding field,
(bPwrOn2PwrGood = 10 => 10 x 2ms = 20ms), this saves about 500ms at each
controller initialization/enumeration.

Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
drivers/usb/host/ehci-hcd.c