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

Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com>
---
 drivers/usb/gadget/udc/pch_udc.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/usb/gadget/udc/pch_udc.c b/drivers/usb/gadget/udc/pch_udc.c
index 49fd97f..7736799 100644
--- a/drivers/usb/gadget/udc/pch_udc.c
+++ b/drivers/usb/gadget/udc/pch_udc.c
@@ -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) {
-- 
2.7.0

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to