Joel Stanley | 4529c8c | 2016-10-25 13:59:27 +1030 | [diff] [blame] | 1 | From af96227bff765957837f3075ec478418e3dd4fd2 Mon Sep 17 00:00:00 2001 |
Joel Stanley | 34fa5c6 | 2016-05-11 13:35:01 +0930 | [diff] [blame] | 2 | From: Thadeu Lima De Souza Cascardo <thadeul@br.ibm.com> |
| 3 | Date: Tue, 25 Mar 2014 10:45:16 -0400 |
Joel Stanley | eeef14f | 2016-08-16 23:09:53 +0930 | [diff] [blame] | 4 | Subject: [PATCH 1/9] xhci: Use xhci_pci_remove for xhci device shutdown |
Joel Stanley | 34fa5c6 | 2016-05-11 13:35:01 +0930 | [diff] [blame] | 5 | |
| 6 | Signed-off-by: Jeremy Kerr <jk@ozlabs.org> |
| 7 | Signed-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 | |
| 12 | diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c |
Joel Stanley | 1163cfe | 2016-09-07 19:07:16 +0930 | [diff] [blame] | 13 | index 963867c2c1d5..5e6a369f635b 100644 |
Joel Stanley | 34fa5c6 | 2016-05-11 13:35:01 +0930 | [diff] [blame] | 14 | --- a/drivers/usb/host/xhci-pci.c |
| 15 | +++ b/drivers/usb/host/xhci-pci.c |
Joel Stanley | 1163cfe | 2016-09-07 19:07:16 +0930 | [diff] [blame] | 16 | @@ -447,7 +447,7 @@ static struct pci_driver xhci_pci_driver = { |
Joel Stanley | 34fa5c6 | 2016-05-11 13:35:01 +0930 | [diff] [blame] | 17 | .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 Stanley | 8f1d88e | 2016-08-29 16:44:12 +0930 | [diff] [blame] | 26 | 2.9.3 |
Joel Stanley | 34fa5c6 | 2016-05-11 13:35:01 +0930 | [diff] [blame] | 27 | |