Joel Stanley | f7511b4 | 2016-07-29 11:33:26 +0930 | [diff] [blame] | 1 | From 4b30502e3137f771b947da627ac7d14286f57b1c 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 | 2b0f7b4 | 2016-07-19 23:26:28 +0930 | [diff] [blame] | 4 | Subject: [PATCH 01/10] 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 | 2b0f7b4 | 2016-07-19 23:26:28 +0930 | [diff] [blame] | 13 | index de644e56aa3b..f398ed390ff8 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 | 2b0f7b4 | 2016-07-19 23:26:28 +0930 | [diff] [blame] | 16 | @@ -446,7 +446,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 | 1277929 | 2016-06-25 23:13:56 +0930 | [diff] [blame] | 26 | 2.8.1 |
Joel Stanley | 34fa5c6 | 2016-05-11 13:35:01 +0930 | [diff] [blame] | 27 | |