]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: Update maximum_speed for SuperSpeedPlus
authorJohn Youn <John.Youn@synopsys.com>
Sat, 6 Feb 2016 01:08:59 +0000 (17:08 -0800)
committerFelipe Balbi <balbi@kernel.org>
Fri, 4 Mar 2016 13:14:27 +0000 (15:14 +0200)
commit200a1e4fc536ffa9d60a285c6b9f98164f31a63f
tree2e43863c0ce410733ab5e7a0ec5c670693689a73
parentc367f01e25aa1aeab4f21d8efc3e5bdbcde27099
usb: dwc3: Update maximum_speed for SuperSpeedPlus

If the maximum_speed is not set, set it to a known value, either
SuperSpeed or SuperSpeedPlus based on the type of controller we are
using. If we are on DWC_usb31 controller, check the PHY interface to see
if it is capable of SuperSpeedPlus.

Also this check is moved after dwc3_core_init() so that we can check
dwc->revision.

Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
drivers/usb/dwc3/core.c