blob: d3dbb0d679474bc83a69d908b3ce9035a76e1803 [file] [log] [blame]
Joel Stanley16658402016-02-22 13:39:04 +10301From 0e7a4fdbfa121ea4b6f34e3138a8d1d3bc6c1968 Mon Sep 17 00:00:00 2001
Joel Stanley3e323ab2015-09-11 14:48:21 +10002From: Thadeu Lima De Souza Cascardo <thadeul@br.ibm.com>
3Date: Tue, 25 Mar 2014 10:45:16 -0400
Joel Stanleyd9669fe2016-01-22 16:13:06 +10304Subject: [PATCH 1/5] xhci: Use xhci_pci_remove for xhci device shutdown
Joel Stanley3e323ab2015-09-11 14:48:21 +10005
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 Stanley16658402016-02-22 13:39:04 +103013index c2d65206ec6c..c2d33e274542 100644
Joel Stanley3e323ab2015-09-11 14:48:21 +100014--- a/drivers/usb/host/xhci-pci.c
15+++ b/drivers/usb/host/xhci-pci.c
Joel Stanley16658402016-02-22 13:39:04 +103016@@ -438,7 +438,7 @@ static struct pci_driver xhci_pci_driver = {
Joel Stanley3e323ab2015-09-11 14:48:21 +100017 .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
25--
Joel Stanley16658402016-02-22 13:39:04 +1030262.7.0
Joel Stanley3e323ab2015-09-11 14:48:21 +100027