heads/patches/linux-5.5-openpower/0001-xhci-Reset-controller-on-xhci-shutdown.patch
Sergii Dmytruk 55ef9912aa
Add Talos 2 boards
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2022-08-31 00:21:28 +03:00

18 lines
633 B
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Raptor Engineering Development Team <support@raptorengineering.com>
Date: Wed, 3 Apr 2019 10:58:35 +1030
Subject: [xhci] Reset controller on xhci shutdown
diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c
index dbac0fa..30a4ea6 100644
--- a/drivers/usb/host/xhci.c
+++ b/drivers/usb/host/xhci.c
@@ -784,6 +784,7 @@ void xhci_shutdown(struct usb_hcd *hcd)
xhci_reset(xhci);
spin_unlock_irq(&xhci->lock);
+ pci_reset_function_locked(to_pci_dev(hcd->self.sysdev));
xhci_cleanup_msix(xhci);
xhci_dbg_trace(xhci, trace_xhci_dbg_init,