From patchwork Mon May 30 11:35:28 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 68842 Delivered-To: patch@linaro.org Received: by 10.140.92.199 with SMTP id b65csp1360470qge; Mon, 30 May 2016 04:47:32 -0700 (PDT) X-Received: by 10.66.126.11 with SMTP id mu11mr45905492pab.18.1464608392758; Mon, 30 May 2016 04:39:52 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c141si16084751pfb.198.2016.05.30.04.39.52; Mon, 30 May 2016 04:39:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-usb-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-usb-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161297AbcE3Ljv (ORCPT + 5 others); Mon, 30 May 2016 07:39:51 -0400 Received: from mga14.intel.com ([192.55.52.115]:15370 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161209AbcE3Lju (ORCPT ); Mon, 30 May 2016 07:39:50 -0400 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP; 30 May 2016 04:39:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,389,1459839600"; d="scan'208";a="991516984" Received: from pipin.fi.intel.com (HELO localhost) ([10.237.68.36]) by fmsmga002.fm.intel.com with ESMTP; 30 May 2016 04:39:50 -0700 From: Felipe Balbi To: Linux USB Cc: Roger Quadros , Felipe Balbi Subject: [PATCH 50/62] usb: dwc3: omap: Mark the interrupt handler as shared Date: Mon, 30 May 2016 14:35:28 +0300 Message-Id: <20160530113540.12128-51-felipe.balbi@linux.intel.com> X-Mailer: git-send-email 2.8.3 In-Reply-To: <20160530113540.12128-1-felipe.balbi@linux.intel.com> References: <20160530113540.12128-1-felipe.balbi@linux.intel.com> Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org From: Roger Quadros 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 Signed-off-by: Felipe Balbi --- drivers/usb/dwc3/dwc3-omap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.8.3 --------------------------------------------------------------------- Intel Finland Oy Registered Address: PL 281, 00181 Helsinki Business Identity Code: 0357606 - 4 Domiciled in Helsinki This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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",