]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
xhci: re-initialize the HC during resume if HCE was set
authorPuma Hsu <pumahsu@google.com>
Tue, 15 Feb 2022 12:33:19 +0000 (14:33 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 20 May 2022 13:17:17 +0000 (15:17 +0200)
commit26f45409406f25d32af393e2fc8f6427f3cdf128
tree30081f0fdfe8b22e8d0a9cf800c4b748d5eded59
parent39655caf6cdd9400e2e7f17d4ecc69f3100f0de7
xhci: re-initialize the HC during resume if HCE was set

BugLink: https://bugs.launchpad.net/bugs/1969236
commit 8b328f8002bcf29ef517ee4bf234e09aabec4d2e upstream.

When HCE(Host Controller Error) is set, it means an internal
error condition has been detected. Software needs to re-initialize
the HC, so add this check in xhci resume.

Cc: stable@vger.kernel.org
Signed-off-by: Puma Hsu <pumahsu@google.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20220215123320.1253947-2-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/usb/host/xhci.c