summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci-ring.c
diff options
context:
space:
mode:
authorMathias Nyman <mathias.nyman@linux.intel.com>2015-05-29 16:01:51 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-05-31 08:45:31 +0200
commit41485a90d573764738a2d096c01133fe30c2ebca (patch)
tree03b0296732b60c94f83991f44c173c5315d5989c /drivers/usb/host/xhci-ring.c
parentusb: xhci: Fix suspend/resume when used with OTG core (diff)
downloadlinux-41485a90d573764738a2d096c01133fe30c2ebca.tar.xz
linux-41485a90d573764738a2d096c01133fe30c2ebca.zip
xhci: optimize xhci bus resume time
We used to write the root port state changes in turn for every port, sleeping 20ms after every port state change. Suspended usb2 ports need two state changes, taking minimun 40ms per port. Now instead poll the Port Link State Change (PLC) bit as the state change to U0 will set this bit. Suspended usb2 ports still need the extra 20ms delay, but we now change all the port states at once so we only need to sleep 20ms once all together Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci-ring.c')
0 files changed, 0 insertions, 0 deletions