Zhuang Jin Can fac4271d11 xhci: prevent bus_suspend if SS port resuming in phase 1
When the link is just waken, it's in Resume state, and driver sets PLS to
U0. This refers to Phase 1. Phase 2 refers to when the link has completed
the transition from Resume state to U0.

With the fix of xhci: report U3 when link is in resume state, it also
exposes an issue that usb3 roothub and controller can suspend right
after phase 1, and this causes a hard hang in controller.

To fix the issue, we need to prevent usb3 bus suspend if any port is
resuming in phase 1.

[merge separate USB2 and USB3 port resume checking to one -Mathias]
Cc: <stable@vger.kernel.org>
Signed-off-by: Zhuang Jin Can <jin.can.zhuang@intel.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-07-22 14:19:37 -07:00
..
2014-12-14 16:10:09 -08:00
2015-06-03 14:13:41 +09:00
2013-12-03 10:34:33 -08:00
2015-04-03 19:03:19 +02:00
2014-11-07 09:02:38 -08:00
2014-11-07 09:02:38 -08:00
2014-11-03 15:26:15 -08:00
2013-12-03 10:34:33 -08:00
2015-04-03 19:03:18 +02:00
2013-12-03 10:34:33 -08:00
2015-04-03 19:03:18 +02:00
2015-04-03 19:03:18 +02:00
2014-12-14 16:10:09 -08:00
2015-04-03 19:03:17 +02:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2015-01-25 21:01:13 +08:00
2014-12-14 16:10:09 -08:00
2015-06-08 14:26:22 -07:00
2015-04-03 19:03:16 +02:00
2013-12-03 10:34:33 -08:00