From: Sarah Sharp Date: Tue, 16 Nov 2010 23:58:52 +0000 (-0800) Subject: xhci: Don't let the USB core disable SuperSpeed ports. X-Git-Tag: v2.6.37-rc5~31^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6dd0a3a7e0793dbeae1b951f091025d8cf896cb4;p=pandora-kernel.git xhci: Don't let the USB core disable SuperSpeed ports. Disabling SuperSpeed ports is a Very Bad Thing (TM). It disables SuperSpeed terminations, which means that devices will never connect at SuperSpeed on that port. For USB 2.0/1.1 ports, disabling the port meant that the USB core could always get a connect status change later. That's not true with USB 3.0 ports. Do not let the USB core disable SuperSpeed ports. We can't rely on the device speed in the port status registers, since that isn't valid until there's a USB device connected to the port. Instead, we use the port speed array that's created from the Extended Capabilities registers. Signed-off-by: Sarah Sharp Tested-by: Don Zickus Cc: stable@kernel.org --- Reading git-diff-tree failed