[PATCH] xhci: Enable Link TRB quirk for 0.96 ASMedia host.

From: Sarah Sharp
Date: Thu Jan 09 2014 - 18:46:04 EST


A recent bug fix commit causes an ASMedia host to stop responding to
commands. See if it needs the link TRB quirk. This was generally only
necessary for 0.95 hosts, but maybe this 0.96 host needs it.

Signed-off-by: Sarah Sharp <sarah.a.sharp@xxxxxxxxxxxxxxx>
---
drivers/usb/host/xhci-pci.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c
index 3c898c12a06b..8196ac2289e4 100644
--- a/drivers/usb/host/xhci-pci.c
+++ b/drivers/usb/host/xhci-pci.c
@@ -92,6 +92,8 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci)
xhci->quirks |= XHCI_TRUST_TX_LENGTH;
}

+ if (pdev->vendor == PCI_VENDOR_ID_ASMEDIA && pdev->device == 1042)
+ xhci->quirks |= XHCI_LINK_TRB_QUIRK;
if (pdev->vendor == PCI_VENDOR_ID_NEC)
xhci->quirks |= XHCI_NEC_HOST;

--
1.8.5.2


--envbJBWh7q8WU6mo--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/