Patch 2.6.32.28 to 2.6.32.32
/drivers/usb/core/hcd-pci.c
blob:91f2885b6ee10ca8f6ca396289e0b1ea2ee7060b -> blob:5915651e66ddccde9fe171b1c5ad6deddc3237c5
--- drivers/usb/core/hcd-pci.c
+++ drivers/usb/core/hcd-pci.c
@@ -197,8 +197,10 @@ void usb_hcd_pci_shutdown(struct pci_dev
if (!hcd)
return;
- if (hcd->driver->shutdown)
+ if (hcd->driver->shutdown) {
hcd->driver->shutdown(hcd);
+ pci_disable_device(dev);
+ }
}
EXPORT_SYMBOL_GPL(usb_hcd_pci_shutdown);