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

Commit c7b640d2 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Felipe Balbi
Browse files

usb: gadget: pch_udc: enable MSI if hardware supports



Try to enable MSI in case hardware supports it. At least Intel Quark is
known SoC which indeed does.

Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent 969733f3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3132,6 +3132,8 @@ static int pch_udc_probe(struct pci_dev *pdev,
	if (pch_udc_pcd_init(dev))
		return -ENODEV;

	pci_enable_msi(pdev);

	retval = devm_request_irq(&pdev->dev, pdev->irq, pch_udc_isr,
				  IRQF_SHARED, KBUILD_MODNAME, dev);
	if (retval) {