]> 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)
commit365863c2ac9700f81741e2a26759a8a639639e09
tree6f55d9549790e0c4a8c4c91e865eeb221054b196
parent0b46df19eda518090c26f453610a98a64eb3f026
Revert "xhci: turn off port power in shutdown"

This reverts commit a505231d57b41e61ad034686cb325a17e27cb98d.

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: a505231d57b4 ("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