MLK-18579-2 usb: cdns3: xhci: disable BEI support
authorPeter Chen <peter.chen@nxp.com>
Wed, 19 Jun 2019 08:55:12 +0000 (16:55 +0800)
committerPeter Chen <peter.chen@nxp.com>
Fri, 30 Aug 2019 08:17:17 +0000 (16:17 +0800)
The Cadence xHCI doesn't support BEI well, it causes the disconnection
of ISOC devices can't be detected, so we disable it.

Reviewed-by: Jun Li <jun.li@nxp.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
(cherry picked from commit 258bb7de5b60bae44b7b775ea9d03e8a59410868)

drivers/usb/cdns3/host.c

index 37bbae1..d0dd591 100644 (file)
@@ -37,7 +37,7 @@ static void xhci_cdns3_quirks(struct device *dev, struct xhci_hcd *xhci)
         * here that the generic code does not try to make a pci_dev from our
         * dev struct in order to setup MSI
         */
-       xhci->quirks |= (XHCI_PLAT | XHCI_CDNS_HOST);
+       xhci->quirks |= (XHCI_PLAT | XHCI_CDNS_HOST | XHCI_AVOID_BEI);
 }
 
 static int xhci_cdns3_setup(struct usb_hcd *hcd)