blob: 2c071b4967b06ea2665e2061242d8152c6009c21 [file] [log] [blame]
Joel Stanleyc1c704a2016-03-17 19:42:06 +10301From 3f099329a4aa747c3cccb502bb3a671df6e76cfd 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 Stanley11548952016-03-03 11:41:59 +10304Subject: [PATCH 1/7] 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 Stanleyc1c704a2016-03-17 19:42:06 +1030262.7.3
Joel Stanley3e323ab2015-09-11 14:48:21 +100027