Skip to content

Commit

Permalink
usb: gadget: pch_udc: enable MSI if hardware supports
Browse files Browse the repository at this point in the history
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.shevchenko@linux.intel.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
  • Loading branch information
Andy Shevchenko authored and Felipe Balbi committed Apr 18, 2016
1 parent 969733f commit c7b640d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/usb/gadget/udc/pch_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c7b640d

Please sign in to comment.