summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMathias Nyman <mathias.nyman@linux.intel.com>2018-12-14 10:54:43 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-01-13 10:05:26 +0100
commitbdb82196e75ba082080f1d443757a26fbfc0f6ce (patch)
tree5402fdd1279326b80a10e31838757301c0e676eb /scripts
parent8846b1dbfd2146b145d73ba31a4caa4a4789aefb (diff)
xhci: Don't prevent USB2 bus suspend in state check intended for USB3 only
commit 45f750c16cae3625014c14c77bd9005eda975d35 upstream. 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 'scripts')
0 files changed, 0 insertions, 0 deletions