aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/usb/dwc3/dwc3-omap.c
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2016-05-11 17:36:43 +0300
committerFelipe Balbi <felipe.balbi@linux.intel.com>2016-06-20 12:32:47 +0300
commit12da8eae208d6f388c3aeecb91955c8b5a468654 (patch)
tree2bba39f1a61b9b79441ffe75a153582d092f002f /drivers/usb/dwc3/dwc3-omap.c
parentusb: dwc3: omap: use request_threaded_irq() (diff)
downloadwireguard-linux-12da8eae208d6f388c3aeecb91955c8b5a468654.tar.xz
wireguard-linux-12da8eae208d6f388c3aeecb91955c8b5a468654.zip
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: Roger Quadros <rogerq@ti.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc3/dwc3-omap.c')
-rw-r--r--drivers/usb/dwc3/dwc3-omap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/dwc3-omap.c b/drivers/usb/dwc3/dwc3-omap.c
index 0142544d061f..bde69fc3fe77 100644
--- a/drivers/usb/dwc3/dwc3-omap.c
+++ b/drivers/usb/dwc3/dwc3-omap.c
@@ -517,7 +517,7 @@ static int dwc3_omap_probe(struct platform_device *pdev)
reg = dwc3_omap_readl(omap->base, USBOTGSS_SYSCONFIG);
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);
if (ret) {
dev_err(dev, "failed to request IRQ #%d --> %d\n",