From c56b3c13a9e9874bc0efdc8b9b94e5363d83c88d Mon Sep 17 00:00:00 2001 From: Peter Chen Date: Wed, 19 Jun 2019 16:55:12 +0800 Subject: [PATCH] MLK-18579-2 usb: cdns3: xhci: disable BEI support 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 Signed-off-by: Peter Chen (cherry picked from commit 258bb7de5b60bae44b7b775ea9d03e8a59410868) --- drivers/usb/cdns3/host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/cdns3/host.c b/drivers/usb/cdns3/host.c index 37bbae183ef0..d0dd591a4aa5 100644 --- a/drivers/usb/cdns3/host.c +++ b/drivers/usb/cdns3/host.c @@ -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) -- 2.17.1