I am unable to test with the kernel you provided, because my tuner card doesn't have driver in mainline kernel tree. So I have to compile it myself and I need kernel headers for this.
So I compiled kernel 4.16 from debian linux-source-4.16 package and applied the patch you provided:
From dd0375ffba55172194999d40b35344e9dc2682df Mon Sep 17 00:00:00 2001
From: "Guilherme G. Piccoli" <email address hidden>
Date: Wed, 11 Apr 2018 11:04:13 +0000
Subject: [PATCH] xhci: Add quirk to ASMedia 0x1242 adapter to avoid BEI
Hello,
I am unable to test with the kernel you provided, because my tuner card doesn't have driver in mainline kernel tree. So I have to compile it myself and I need kernel headers for this.
So I compiled kernel 4.16 from debian linux-source-4.16 package and applied the patch you provided:
From dd0375ffba55172 194999d40b35344 e9dc2682df Mon Sep 17 00:00:00 2001
From: "Guilherme G. Piccoli" <email address hidden>
Date: Wed, 11 Apr 2018 11:04:13 +0000
Subject: [PATCH] xhci: Add quirk to ASMedia 0x1242 adapter to avoid BEI
Signed-off-by: Guilherme G. Piccoli <email address hidden> usb/host/ xhci-pci. c | 6 ++++++
---
drivers/
1 file changed, 6 insertions(+)
diff --git a/drivers/ usb/host/ xhci-pci. c b/drivers/ usb/host/ xhci-pci. c usb/host/ xhci-pci. c usb/host/ xhci-pci. c quirks( struct device *dev, struct xhci_hcd *xhci)
xhci- >quirks |= XHCI_TRUST_ TX_LENGTH;
index d9f831b..0654461 100644
--- a/drivers/
+++ b/drivers/
@@ -213,6 +213,12 @@ static void xhci_pci_
if (pdev->vendor == PCI_VENDOR_ ID_ASMEDIA && ID_ASMEDIA &&
pdev- >device == PCI_DEVICE_ ID_ASMEDIA_ 1042A_XHCI)
xhci- >quirks |= XHCI_ASMEDIA_ MODIFY_ FLOWCONTROL;
+ pdev->device == 0x1242) {
+ xhci->quirks |= XHCI_AVOID_BEI;
+ pr_warn("QUIRK: XHCI_AVOID_BEI");
+ }
+
+ if (pdev->vendor == PCI_VENDOR_
--
2.7.4
Compiled my tuner card driver now and I am testing.