]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Aug 2012 15:23:14 +0000 (08:23 -0700)
commitdf665bff98f8b26731343193dd741c458455b57b
treeb45dce545f22d05ff05645ee1ca9fd97b72b884b
parentdf4322f2f1310a7269df9841bfcee6274981a19f
USB: echi-dbgp: increase the controller wait time to come out of halt.

commit f96a4216e85050c0a9d41a41ecb0ae9d8e39b509 upstream.

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.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/early/ehci-dbgp.c