diff options
Diffstat (limited to 'drivers/usb/host/xhci-pci.c')
| -rw-r--r-- | drivers/usb/host/xhci-pci.c | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c index ef98b38626f..7a856a767e7 100644 --- a/drivers/usb/host/xhci-pci.c +++ b/drivers/usb/host/xhci-pci.c @@ -95,6 +95,8 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci)  		xhci->quirks |= XHCI_RESET_ON_RESUME;  		xhci_dbg(xhci, "QUIRK: Resetting on resume\n");  	} +	if (pdev->vendor == PCI_VENDOR_ID_VIA) +		xhci->quirks |= XHCI_RESET_ON_RESUME;  }  /* called during probe() after chip reset completes */ @@ -326,7 +328,7 @@ int __init xhci_register_pci(void)  	return pci_register_driver(&xhci_pci_driver);  } -void __exit xhci_unregister_pci(void) +void xhci_unregister_pci(void)  {  	pci_unregister_driver(&xhci_pci_driver);  }  |