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

Commit 8c6f3fcb authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: xhci-msm-hsic: Set the interrupt moderation to 4000"

parents 3be0791a e1ade37b
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -962,6 +962,7 @@ static int mxhci_hsic_probe(struct platform_device *pdev)
	int ret;
	int irq;
	u32 tmp[3];
	u32 temp;

	if (usb_disabled())
		return -ENODEV;
@@ -1189,6 +1190,11 @@ static int mxhci_hsic_probe(struct platform_device *pdev)
		}
	}

	temp = xhci_readl(xhci, &xhci->ir_set->irq_control);
	temp &= ~ER_IRQ_INTERVAL_MASK;
	temp |= (u32) 4000;
	xhci_writel(xhci, temp, &xhci->ir_set->irq_control);

	ret = device_create_file(&pdev->dev, &dev_attr_config_imod);
	if (ret)
		dev_dbg(&pdev->dev, "%s: unable to create imod sysfs entry\n",