]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/usb/core/hcd-pci.c
OHCI: work around for nVidia shutdown problem
[karo-tx-linux.git] / drivers / usb / core / hcd-pci.c
index c3f98543caaf9d3867fadc756db69346bba32a04..3799573bd385db30aab6db375bab0d506595e9c0 100644 (file)
@@ -329,8 +329,10 @@ void usb_hcd_pci_shutdown(struct pci_dev *dev)
                return;
 
        if (test_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags) &&
-                       hcd->driver->shutdown)
+                       hcd->driver->shutdown) {
                hcd->driver->shutdown(hcd);
+               pci_disable_device(dev);
+       }
 }
 EXPORT_SYMBOL_GPL(usb_hcd_pci_shutdown);