xHCI: prolong host controller halt time limit
commitbdfca5025a159c8bb966e3b87b0c084dd1f831a9
authorAndiry Xu <andiry.xu@amd.com>
Thu, 6 Jan 2011 07:43:39 +0000 (6 15:43 +0800)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Mon, 14 Mar 2011 01:07:09 +0000 (13 18:07 -0700)
treec49bd0a596410686480933ac60beb2360c8a8ee9
parent019a35f1142b1cd153c8a38338515e633ec0cf77
xHCI: prolong host controller halt time limit

xHCI 1.0 spec specifies the xHC shall halt within 16ms after software clears
Run/Stop bit. In xHCI 0.96 spec the time limit is 16 microframes (2ms), it's
too short and often cause dmesg shows "Host controller not halted, aborting
reset." message when rmmod xhci-hcd.

Modify the time limit to comply with xHCI 1.0 specification and prevents the
warning message showing when remove xhci-hcd.

Signed-off-by: Andiry Xu <andiry.xu@amd.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
drivers/usb/host/xhci-ext-caps.h
drivers/usb/host/xhci.c