mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-20 21:43:11 +00:00
55ef9912aa
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
18 lines
633 B
Diff
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,
|