Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1399193

[PATCH v8 2/5] usb: dwc3: omap: Mark the interrupt handler as shared

From Roger Quadros <rogerq@ti.com>
Newsgroups linux.kernel
Subject [PATCH v8 2/5] usb: dwc3: omap: Mark the interrupt handler as shared
Date 2016-05-11 16:40 +0200
Message-ID <rxDsT-1yk-39@gated-at.bofh.it> (permalink)
References <rxDsS-1yk-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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>
---
 drivers/usb/dwc3/dwc3-omap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/dwc3/dwc3-omap.c b/drivers/usb/dwc3/dwc3-omap.c
index 7d49da1..b58546c 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",
-- 
2.7.4

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v8 0/5] dwc3: omap: fixes and dual-role preparation Roger Quadros <rogerq@ti.com> - 2016-05-11 16:40 +0200
  [PATCH v8 4/5] usb: dwc3: omap: Pass VBUS and ID events transparently Roger Quadros <rogerq@ti.com> - 2016-05-11 16:40 +0200
  [PATCH v8 5/5] usb: dwc3: core: cleanup IRQ resources Roger Quadros <rogerq@ti.com> - 2016-05-11 16:40 +0200
  [PATCH v8 3/5] usb: dwc3: omap: Don't set POWERPRESENT Roger Quadros <rogerq@ti.com> - 2016-05-11 16:40 +0200
  [PATCH v8 2/5] usb: dwc3: omap: Mark the interrupt handler as shared Roger Quadros <rogerq@ti.com> - 2016-05-11 16:40 +0200
  [PATCH v8 1/5] usb: dwc3: omap: use request_threaded_irq() Roger Quadros <rogerq@ti.com> - 2016-05-11 16:40 +0200

csiph-web