summaryrefslogtreecommitdiffstats
path: root/openpower/linux/0001-xhci-Use-xhci_pci_remove-for-xhci-device-shutdown.patch
diff options
context:
space:
mode:
Diffstat (limited to 'openpower/linux/0001-xhci-Use-xhci_pci_remove-for-xhci-device-shutdown.patch')
-rw-r--r--openpower/linux/0001-xhci-Use-xhci_pci_remove-for-xhci-device-shutdown.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/openpower/linux/0001-xhci-Use-xhci_pci_remove-for-xhci-device-shutdown.patch b/openpower/linux/0001-xhci-Use-xhci_pci_remove-for-xhci-device-shutdown.patch
new file mode 100644
index 00000000..ca5c2401
--- /dev/null
+++ b/openpower/linux/0001-xhci-Use-xhci_pci_remove-for-xhci-device-shutdown.patch
@@ -0,0 +1,27 @@
+From 4b30502e3137f771b947da627ac7d14286f57b1c Mon Sep 17 00:00:00 2001
+From: Thadeu Lima De Souza Cascardo <thadeul@br.ibm.com>
+Date: Tue, 25 Mar 2014 10:45:16 -0400
+Subject: [PATCH 01/10] xhci: Use xhci_pci_remove for xhci device shutdown
+
+Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
+Signed-off-by: Joel Stanley <joel@jms.id.au>
+---
+ drivers/usb/host/xhci-pci.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c
+index de644e56aa3b..f398ed390ff8 100644
+--- a/drivers/usb/host/xhci-pci.c
++++ b/drivers/usb/host/xhci-pci.c
+@@ -446,7 +446,7 @@ static struct pci_driver xhci_pci_driver = {
+ .remove = xhci_pci_remove,
+ /* suspend and resume implemented later */
+
+- .shutdown = usb_hcd_pci_shutdown,
++ .shutdown = xhci_pci_remove,
+ #ifdef CONFIG_PM
+ .driver = {
+ .pm = &usb_hcd_pci_pm_ops
+--
+2.8.1
+
OpenPOWER on IntegriCloud