]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
xhci: Identify USB 3.1 capable hosts by their port protocol capability
authorMathias Nyman <mathias.nyman@linux.intel.com>
Fri, 6 Oct 2017 14:45:27 +0000 (17:45 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Oct 2017 08:39:10 +0000 (10:39 +0200)
commit301d332138d2aea68b5ca870a969ba7e38967915
tree303cb9be8818eab363c3d05da746e7481aefa7b9
parent180de9e37c6f759e5b041f070b08d4540cb97829
xhci: Identify USB 3.1 capable hosts by their port protocol capability

commit ea7d0d69426cab6747ed311c53f4142eb48b9454 upstream.

Many USB 3.1 capable hosts never updated the Serial Bus Release Number
(SBRN) register to USB 3.1 from USB 3.0

xhci driver identified USB 3.1 capable hosts based on this SBRN register,
which according to specs "contains the release of the Universal Serial
Bus Specification with which this Universal Serial Bus Host Controller
module is compliant." but still in october 2017 gives USB 3.0 as
the only possible option.

Make an additional check for USB 3.1 support and enable it if the xHCI
supported protocol capablity lists USB 3.1 capable ports.

Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci.c