Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 991d7f58 authored by Jack Pham's avatar Jack Pham
Browse files

usb: xhci-msm-hsic: Define XHCI_PLAT quirk



This patch adds the XHCI_PLAT quirk to xhci-msm-hsic to denote that
it is a platform_driver and simultaneously reverts commit 1885eed5
"usb: XHCI: Do not allow enabling MSI from XHCI" since PCI interrupts
are now only enabled when the XHCI_PLAT quirk is disabled.

Change-Id: Ia2a1aadd3f574b89da6e0715e3e4afbf162e8b19
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent 56d9bf66
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -412,7 +412,7 @@ static void mxhci_hsic_plat_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_BROKEN_MSI;
	xhci->quirks |= XHCI_PLAT;

	/* Single port controller using out of band remote wakeup */
	if (mxhci->wakeup_irq)
+1 −1
Original line number Diff line number Diff line
@@ -189,7 +189,7 @@ int xhci_reset(struct xhci_hcd *xhci)
	return ret;
}

#if defined(CONFIG_PCI) && !defined(CONFIG_ARCH_MSM)
#ifdef CONFIG_PCI
static int xhci_free_msi(struct xhci_hcd *xhci)
{
	int i;