Commit 12da8eae authored by Roger Quadros's avatar Roger Quadros Committed by Felipe Balbi

usb: dwc3: omap: Mark the interrupt handler as shared

On OMAPs, OTG events come on the same IRQ so we need to share
this IRQ with the OTG device driver.
Signed-off-by: default avatarRoger Quadros <rogerq@ti.com>
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent 3f586c92
...@@ -517,7 +517,7 @@ static int dwc3_omap_probe(struct platform_device *pdev) ...@@ -517,7 +517,7 @@ static int dwc3_omap_probe(struct platform_device *pdev)
reg = dwc3_omap_readl(omap->base, USBOTGSS_SYSCONFIG); reg = dwc3_omap_readl(omap->base, USBOTGSS_SYSCONFIG);
ret = devm_request_threaded_irq(dev, omap->irq, dwc3_omap_interrupt, ret = devm_request_threaded_irq(dev, omap->irq, dwc3_omap_interrupt,
dwc3_omap_interrupt_thread, 0, dwc3_omap_interrupt_thread, IRQF_SHARED,
"dwc3-omap", omap); "dwc3-omap", omap);
if (ret) { if (ret) {
dev_err(dev, "failed to request IRQ #%d --> %d\n", dev_err(dev, "failed to request IRQ #%d --> %d\n",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment