]> www.infradead.org Git - users/jedix/linux-maple.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)
committerJerry Snitselaar <jerry.snitselaar@oracle.com>
Sun, 7 Oct 2012 06:29:56 +0000 (23:29 -0700)
commit6aae2965289bfa64b64d103f82081250a426d4ba
tree6a9d48380188a9f0aa22bcf25485d76e10dcb49b
parent88656384513a9572c402a09ebc36b0ba64750e3a
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>
(cherry picked from commit aeaab8a0fee896fb31f2e5044f86d2a270d65cb6)

Signed-off-by: Jerry Snitselaar <jerry.snitselaar@oracle.com>
drivers/usb/early/ehci-dbgp.c