]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xhci: Increase reset timeout for Renesas 720201 host.
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Mon, 23 Jul 2012 23:06:08 +0000 (16:06 -0700)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Mon, 8 Oct 2012 10:05:54 +0000 (03:05 -0700)
commitc2f1c8c4cb600e7e744b2226a267a9499f8ded60
tree4bbde129e2a8f5e717a4eb98fee4e6f10df12efb
parent2fdbae21bb9056a1049c235593aba9fb4849d769
xhci: Increase reset timeout for Renesas 720201 host.

commit 22ceac191211cf6688b1bf6ecd93c8b6bf80ed9b upstream.

The NEC/Renesas 720201 xHCI host controller does not complete its reset
within 250 milliseconds.  In fact, it takes about 9 seconds to reset the
host controller, and 1 second for the host to be ready for doorbell
rings.  Extend the reset and CNR polling timeout to 10 seconds each.

This patch should be backported to kernels as old as 2.6.31, that
contain the commit 66d4eadd8d067269ea8fead1a50fe87c2979a80d "USB: xhci:
BIOS handoff and HW initialization."

Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Reported-by: Edwin Klein Mentink <e.kleinmentink@zonnet.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci.c