[SRU] [Unstable/OEM-5.6] [PATCH 0/1] Fix non-working USB devices plugged during system sleep

Kai-Heng Feng kai.heng.feng at canonical.com
Mon Aug 24 06:36:22 UTC 2020


BugLink: https://bugs.launchpad.net/bugs/1892678

[Impact]
Some USB devices aren't working if they are plugged under system sleep.

[Fix]
Consider xHCI PORTSC CAS bit over other conditions.

[Test]
Plug or re-plug USB devices during system sleep. USB devices always work
after system resume.

[Regression Potential]
There could be devices that depends on the old (but wrong) behavior.
However it's really unlikely and it's against xHCI spec, we can deal
with those quirky devices if any.

Kai-Heng Feng (1):
  xhci: Do warm-reset when both CAS and XDEV_RESUME are set

 drivers/usb/host/xhci-hub.c | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

-- 
2.17.1




More information about the kernel-team mailing list