]> git.baikalelectronics.ru Git - kernel.git/commit
xhci: prevent bus suspend if a roothub port detected a over-current condition
authorMathias Nyman <mathias.nyman@linux.intel.com>
Tue, 21 Apr 2020 14:08:21 +0000 (17:08 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Apr 2020 14:27:38 +0000 (16:27 +0200)
commitcc83b31707edb5eeec43fe51ba891dc31cf512c1
treea7af2b895c01fd55a85f5eba049e7198655f0a8a
parentff7c10cb56ec2082cf0d92e5bd103da3aa0550f3
xhci: prevent bus suspend if a roothub port detected a over-current condition

Suspending the bus and host controller while a port is in a over-current
condition may halt the host.
Also keep the roothub running if over-current is active.

Cc: <stable@vger.kernel.org>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20200421140822.28233-3-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-hub.c