diff options
author | Daniel Thompson <daniel@redfelineninja.org.uk> | 2017-11-22 12:18:39 +0000 |
---|---|---|
committer | Daniel Thompson <daniel@redfelineninja.org.uk> | 2017-11-23 14:28:32 +0000 |
commit | 55b65e5890abd1a9f5b55dbd584f38fb7314fe20 (patch) | |
tree | a206ee2328829859380e2abdb49bb034bdc1a086 | |
parent | 5b947cc9c1319b9d1a406da2e593dc299289ea03 (diff) |
usb: xhci: Add XHCI_TRUST_TX_LENGTH for Renesas uPD720201developerbox/hacking-v4.14
When plugging in a USB webcam I see the following message:
xhci_hcd 0000:04:00.0: WARN Successful completion on short TX: needs XHCI_TRUST_TX_LENGTH quirk?
handle_tx_event: 913 callbacks suppressed
All is quiet again with this patch (and I've done a fair but of soak
testing with the camera since).
Cc: <stable@vger.kernel.org>
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
-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 76f392954733..298da6b88261 100644 --- a/drivers/usb/host/xhci-pci.c +++ b/drivers/usb/host/xhci-pci.c @@ -190,8 +190,10 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci) xhci->quirks |= XHCI_BROKEN_STREAMS; } if (pdev->vendor == PCI_VENDOR_ID_RENESAS && - pdev->device == 0x0015) + pdev->device == 0x0015) { xhci->quirks |= XHCI_RESET_ON_RESUME; + xhci->quirks |= XHCI_TRUST_TX_LENGTH; + } if (pdev->vendor == PCI_VENDOR_ID_VIA) xhci->quirks |= XHCI_RESET_ON_RESUME; |