summaryrefslogtreecommitdiffstats
path: root/drivers/usb/renesas_usbhs
diff options
context:
space:
mode:
authorMathias Nyman <mathias.nyman@linux.intel.com>2017-08-16 13:23:26 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-08-17 00:26:26 +0200
commita85c0f8db3329ab433dab49322616e6985317cd7 (patch)
tree86a2dffb8009798f09b2d8e234e740ad108b1385 /drivers/usb/renesas_usbhs
parentusb: Increase root hub reset signaling time to prevent retry (diff)
downloadlinux-a85c0f8db3329ab433dab49322616e6985317cd7.tar.xz
linux-a85c0f8db3329ab433dab49322616e6985317cd7.zip
xhci: rework bus_resume and check ports are suspended before resuming them.
bus_resume() tried to resume the same ports the bus_suspend() suspeded. This caused PLC timeouts in case a suspended device disconnected and was not in a resumable state at bus_resume(). Add a check to make sure the link state is either U3 or resuming before actually resuming the link. At the same time do some other changes such as make sure we remove wake on connect/disconnect/overcurrent also for the resuming ports, and avoid extra portsc port register writes. This improves resume time with 10ms in those PLC timeout cases where devices disconnect at suspend/resume cycle. Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/renesas_usbhs')
0 files changed, 0 insertions, 0 deletions