From 41485a90d573764738a2d096c01133fe30c2ebca Mon Sep 17 00:00:00 2001 From: Mathias Nyman Date: Fri, 29 May 2015 17:01:51 +0300 Subject: [PATCH] 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed