blob: 4a93f43d9fc1746153408a2384e0e171c2fcdabe [file] [log] [blame]
Joel Stanley8ac6ef02016-12-14 15:12:16 +10301From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
Joel Stanley34fa5c62016-05-11 13:35:01 +09302From: Thadeu Lima De Souza Cascardo <thadeul@br.ibm.com>
3Date: Tue, 25 Mar 2014 10:45:16 -0400
Joel Stanleya3d12ca2017-07-13 13:39:51 +09304Subject: [PATCH 1/2] xhci: Use xhci_pci_remove for xhci device shutdown
Joel Stanley34fa5c62016-05-11 13:35:01 +09305
6Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
7Signed-off-by: Joel Stanley <joel@jms.id.au>
8---
9 drivers/usb/host/xhci-pci.c | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c
Joel Stanley2c079b72017-08-09 00:56:05 +100013index 1ef622ededfd..77f0f83a869c 100644
Joel Stanley34fa5c62016-05-11 13:35:01 +093014--- a/drivers/usb/host/xhci-pci.c
15+++ b/drivers/usb/host/xhci-pci.c
Joel Stanley2c079b72017-08-09 00:56:05 +100016@@ -494,7 +494,7 @@ static struct pci_driver xhci_pci_driver = {
Joel Stanley34fa5c62016-05-11 13:35:01 +093017 .remove = xhci_pci_remove,
18 /* suspend and resume implemented later */
19
20- .shutdown = usb_hcd_pci_shutdown,
21+ .shutdown = xhci_pci_remove,
22 #ifdef CONFIG_PM
23 .driver = {
24 .pm = &usb_hcd_pci_pm_ops