]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "xhci: turn off port power in shutdown"
authorMathias Nyman <mathias.nyman@linux.intel.com>
Thu, 25 Aug 2022 15:08:40 +0000 (18:08 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Aug 2022 15:48:30 +0000 (17:48 +0200)
commit87cf06aa931c0eebdfc4766afde0db4458f42213
tree6f55d9549790e0c4a8c4c91e865eeb221054b196
parent08f54b5d10ead239da93035b318987e75dcfc1d4
Revert "xhci: turn off port power in shutdown"

This reverts commit 3f1e8ed6702d264516fff8146151800107ce8741.

Turning off port power in shutdown did cause issues such as a laptop not
proprly powering off, and some specific usb devies failing to enumerate the
subsequent boot after a warm reset.

So revert this.

Fixes: 3f1e8ed6702d ("xhci: turn off port power in shutdown")
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20220825150840.132216-4-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-hub.c
drivers/usb/host/xhci.c
drivers/usb/host/xhci.h