diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-05-01 08:47:44 -0700 | 
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-05-01 08:47:44 -0700 | 
| commit | bf61c8840efe60fd8f91446860b63338fb424158 (patch) | |
| tree | 7a71832407a4f0d6346db773343f4c3ae2257b19 /drivers/usb/host/xhci-pci.c | |
| parent | 5846115b30f3a881e542c8bfde59a699c1c13740 (diff) | |
| parent | 0c6a61657da78098472fd0eb71cc01f2387fa1bb (diff) | |
| download | olio-linux-3.10-bf61c8840efe60fd8f91446860b63338fb424158.tar.xz olio-linux-3.10-bf61c8840efe60fd8f91446860b63338fb424158.zip  | |
Merge branch 'next' into for-linus
Prepare first set of updates for 3.10 merge window.
Diffstat (limited to 'drivers/usb/host/xhci-pci.c')
| -rw-r--r-- | drivers/usb/host/xhci-pci.c | 16 | 
1 files changed, 6 insertions, 10 deletions
diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c index 8345d7c2306..af259e0ec17 100644 --- a/drivers/usb/host/xhci-pci.c +++ b/drivers/usb/host/xhci-pci.c @@ -29,6 +29,7 @@  /* Device for a quirk */  #define PCI_VENDOR_ID_FRESCO_LOGIC	0x1b73  #define PCI_DEVICE_ID_FRESCO_LOGIC_PDK	0x1000 +#define PCI_DEVICE_ID_FRESCO_LOGIC_FL1400	0x1400  #define PCI_VENDOR_ID_ETRON		0x1b6f  #define PCI_DEVICE_ID_ASROCK_P67	0x7023 @@ -58,8 +59,10 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci)  	/* Look for vendor-specific quirks */  	if (pdev->vendor == PCI_VENDOR_ID_FRESCO_LOGIC && -			pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_PDK) { -		if (pdev->revision == 0x0) { +			(pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_PDK || +			 pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_FL1400)) { +		if (pdev->device == PCI_DEVICE_ID_FRESCO_LOGIC_PDK && +				pdev->revision == 0x0) {  			xhci->quirks |= XHCI_RESET_EP_QUIRK;  			xhci_dbg(xhci, "QUIRK: Fresco Logic xHC needs configure"  					" endpoint cmd after reset endpoint\n"); @@ -218,15 +221,8 @@ static void xhci_pci_remove(struct pci_dev *dev)  static int xhci_pci_suspend(struct usb_hcd *hcd, bool do_wakeup)  {  	struct xhci_hcd	*xhci = hcd_to_xhci(hcd); -	int	retval = 0; -	if (hcd->state != HC_STATE_SUSPENDED || -			xhci->shared_hcd->state != HC_STATE_SUSPENDED) -		return -EINVAL; - -	retval = xhci_suspend(xhci); - -	return retval; +	return xhci_suspend(xhci);  }  static int xhci_pci_resume(struct usb_hcd *hcd, bool hibernated)  |