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

Commit 2971cae9 authored by Manu Gautam's avatar Manu Gautam
Browse files

Revert "usb: xhci: Set interrupt moderation for host mode to 4000(1ms)"



This reverts commit 32e9bf0e
("usb: xhci: Set interrupt moderation for host mode to 4000(1ms)") to
restore default imod value in XHCI driver as IMOD value is now passed
from DT for required targets.

CRs-fixed: 1019219
Change-Id: I8bc3c2217cafde0e767671e192f6563f89712575
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
parent 1e538f6b
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -35,8 +35,6 @@
#define DRIVER_AUTHOR "Sarah Sharp"
#define DRIVER_DESC "'eXtensible' Host Controller (xHC) Driver"

#define XHCI_INT_MODERATION_VAL 4000

#define	PORT_WAKE_BITS	(PORT_WKOC_E | PORT_WKDISC_E | PORT_WKCONN_E)

/* Some 0.95 hardware can't handle the chain bit on a Link TRB being cleared */
@@ -642,7 +640,7 @@ int xhci_run(struct usb_hcd *hcd)
			"// Set the interrupt modulation register");
	temp = readl(&xhci->ir_set->irq_control);
	temp &= ~ER_IRQ_INTERVAL_MASK;
	temp |= (u32) XHCI_INT_MODERATION_VAL;
	temp |= (u32) 160;
	writel(temp, &xhci->ir_set->irq_control);

	/* Set the HCD state before we enable the irqs */