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


Groups > linux.kernel > #1397925 > unrolled thread

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

Started byRoger Quadros <rogerq@ti.com>
First post2016-05-10 12:00 +0200
Last post2016-05-10 12:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v7 2/5] usb: dwc3: omap: Mark the interrupt handler as shared Roger Quadros <rogerq@ti.com> - 2016-05-10 12:00 +0200

#1397925 — [PATCH v7 2/5] usb: dwc3: omap: Mark the interrupt handler as shared

FromRoger Quadros <rogerq@ti.com>
Date2016-05-10 12:00 +0200
Subject[PATCH v7 2/5] usb: dwc3: omap: Mark the interrupt handler as shared
Message-ID<rxcCp-8kL-67@gated-at.bofh.it>
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 6504e94..a30944d 100644
--- a/drivers/usb/dwc3/dwc3-omap.c
+++ b/drivers/usb/dwc3/dwc3-omap.c
@@ -504,7 +504,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,
-					NULL, 0, "dwc3-omap", omap);
+					NULL, IRQF_SHARED, "dwc3-omap", omap);
 	if (ret) {
 		dev_err(dev, "failed to request IRQ #%d --> %d\n",
 				omap->irq, ret);
-- 
2.7.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web