]> git.baikalelectronics.ru Git - kernel.git/commit
USB: echi-dbgp: increase the controller wait time to come out of halt.
authorColin Ian King <colin.king@canonical.com>
Mon, 30 Jul 2012 15:06:42 +0000 (16:06 +0100)
committerJason Wessel <jason.wessel@windriver.com>
Tue, 31 Jul 2012 13:16:43 +0000 (08:16 -0500)
commit7a2924fb0c621b3f2fb69eecd53961d3988d92f1
tree3998a62eb2bb4b4f71e160069ad06c055e97828b
parent15c58d412a0e0871ecfa87791438c582887cab03
USB: echi-dbgp: increase the controller wait time to come out of halt.

The default 10 microsecond delay for the controller to come out of
halt in dbgp_ehci_startup is too short, so increase it to 1 millisecond.

This is based on emperical testing on various USB debug ports on
modern machines such as a Lenovo X220i and an Ivybridge development
platform that needed to wait ~450-950 microseconds.

Cc: <stable@vger.kernel.org>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
drivers/usb/early/ehci-dbgp.c