diff options
Diffstat (limited to 'drivers/usb/host/ehci-hcd.c')
-rw-r--r-- | drivers/usb/host/ehci-hcd.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c index f69305d3a9b8..e6277536f392 100644 --- a/drivers/usb/host/ehci-hcd.c +++ b/drivers/usb/host/ehci-hcd.c | |||
@@ -114,13 +114,11 @@ MODULE_PARM_DESC(hird, "host initiated resume duration, +1 for each 75us\n"); | |||
114 | 114 | ||
115 | #define INTR_MASK (STS_IAA | STS_FATAL | STS_PCD | STS_ERR | STS_INT) | 115 | #define INTR_MASK (STS_IAA | STS_FATAL | STS_PCD | STS_ERR | STS_INT) |
116 | 116 | ||
117 | /* for ASPM quirk of ISOC on AMD SB800 */ | ||
118 | static struct pci_dev *amd_nb_dev; | ||
119 | |||
120 | /*-------------------------------------------------------------------------*/ | 117 | /*-------------------------------------------------------------------------*/ |
121 | 118 | ||
122 | #include "ehci.h" | 119 | #include "ehci.h" |
123 | #include "ehci-dbg.c" | 120 | #include "ehci-dbg.c" |
121 | #include "pci-quirks.h" | ||
124 | 122 | ||
125 | /*-------------------------------------------------------------------------*/ | 123 | /*-------------------------------------------------------------------------*/ |
126 | 124 | ||
@@ -532,10 +530,8 @@ static void ehci_stop (struct usb_hcd *hcd) | |||
532 | spin_unlock_irq (&ehci->lock); | 530 | spin_unlock_irq (&ehci->lock); |
533 | ehci_mem_cleanup (ehci); | 531 | ehci_mem_cleanup (ehci); |
534 | 532 | ||
535 | if (amd_nb_dev) { | 533 | if (ehci->amd_pll_fix == 1) |
536 | pci_dev_put(amd_nb_dev); | 534 | usb_amd_dev_put(); |
537 | amd_nb_dev = NULL; | ||
538 | } | ||
539 | 535 | ||
540 | #ifdef EHCI_STATS | 536 | #ifdef EHCI_STATS |
541 | ehci_dbg (ehci, "irq normal %ld err %ld reclaim %ld (lost %ld)\n", | 537 | ehci_dbg (ehci, "irq normal %ld err %ld reclaim %ld (lost %ld)\n", |