diff options
author | Mathias Nyman <mathias.nyman@linux.intel.com> | 2018-12-14 10:54:43 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-12-14 13:02:55 +0100 |
commit | 45f750c16cae3625014c14c77bd9005eda975d35 (patch) | |
tree | 8ad2adc5d98f5acee897ccc361616ae516733fd7 /Documentation | |
parent | 40e020c129cfc991e8ab4736d2665351ffd1468d (diff) |
xhci: Don't prevent USB2 bus suspend in state check intended for USB3 only
The code to prevent a bus suspend if a USB3 port was still in link training
also reacted to USB2 port polling state.
This caused bus suspend to busyloop in some cases.
USB2 polling state is different from USB3, and should not prevent bus
suspend.
Limit the USB3 link training state check to USB3 root hub ports only.
The origial commit went to stable so this need to be applied there as well
Fixes: 2f31a67f01a8 ("usb: xhci: Prevent bus suspend if a port connect change or polling state is detected")
Cc: stable@vger.kernel.org
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions