]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
xhci: Apply broken streams quirk to Etron EJ188 xHCI host
authorKuangyi Chiang <ki.chiang65@gmail.com>
Tue, 11 Jun 2024 12:06:09 +0000 (15:06 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Jul 2024 07:08:15 +0000 (09:08 +0200)
commit 91f7a1524a92c70ffe264db8bdfa075f15bbbeb9 upstream.

As described in commit 8f873c1ff4ca ("xhci: Blacklist using streams on the
Etron EJ168 controller"), EJ188 have the same issue as EJ168, where Streams
do not work reliable on EJ188. So apply XHCI_BROKEN_STREAMS quirk to EJ188
as well.

Cc: stable@vger.kernel.org
Signed-off-by: Kuangyi Chiang <ki.chiang65@gmail.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20240611120610.3264502-4-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-pci.c

index 4000c6d9e5962c63fe146ad5144781b6a17e4d1e..c2fa705b230a9c60f2ebab8a523725b5d3be147e 100644 (file)
@@ -258,8 +258,10 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci)
                xhci->quirks |= XHCI_BROKEN_STREAMS;
        }
        if (pdev->vendor == PCI_VENDOR_ID_ETRON &&
-                       pdev->device == PCI_DEVICE_ID_EJ188)
+                       pdev->device == PCI_DEVICE_ID_EJ188) {
                xhci->quirks |= XHCI_RESET_ON_RESUME;
+               xhci->quirks |= XHCI_BROKEN_STREAMS;
+       }
 
        if (pdev->vendor == PCI_VENDOR_ID_RENESAS &&
            pdev->device == 0x0014) {