From patchwork Wed Sep 2 14:24:18 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 52976 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by patches.linaro.org (Postfix) with ESMTPS id 004632300B for ; Wed, 2 Sep 2015 14:25:13 +0000 (UTC) Received: by wiclp12 with SMTP id lp12sf6987393wic.0 for ; Wed, 02 Sep 2015 07:25:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-type:sender:precedence :list-id:x-original-sender:x-original-authentication-results :mailing-list:list-post:list-help:list-archive:list-unsubscribe; bh=RU4HYSK5eNEnc2uEVtNBc33tPvAp211lF86vZ7HcQuA=; b=a+Fr9tD9DoidX8c9vwL5EqEwK3lW94hS0tavVQZsErXzF/qJRaYUzedipyZtln+xrU ZOhW+zZREVSDss3W4BikbWodyzykX9AeRRwDbz2+mfHxIed1KAJY0I5ipCufRsA6Yc/T rNfENznteeY/rAI4epo/JTDqa9N8iGsHfQGlcpzfLKVUN+iX8zWI9RJVUhUubX2HQHGj nRPHwLr/6zqq73ZpOt6wB9EDzs78BV5yH/zDTnFb3WmxKc9PmUJHMcMMNWKqd+vZk6zT Tkql48aHgbdUJSsqBCxgZs2wb5J1kgdGUCa4oWGwUO2TeYoJe2X+66eWPgSru7OPsvfu u5Nw== X-Gm-Message-State: ALoCoQnSlEG9crNXFj/kvLqDk86sj03KS1WW6y4xRdfD9G35dwRugLJvZ9Z+0rGalkE1z6WyIHsY X-Received: by 10.180.100.71 with SMTP id ew7mr1115592wib.0.1441203905238; Wed, 02 Sep 2015 07:25:05 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.4.1 with SMTP id g1ls90666lag.46.gmail; Wed, 02 Sep 2015 07:25:03 -0700 (PDT) X-Received: by 10.112.163.102 with SMTP id yh6mr15930604lbb.54.1441203903444; Wed, 02 Sep 2015 07:25:03 -0700 (PDT) Received: from mail-la0-f41.google.com (mail-la0-f41.google.com. [209.85.215.41]) by mx.google.com with ESMTPS id kv10si17388240lac.152.2015.09.02.07.25.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Sep 2015 07:25:03 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.41 as permitted sender) client-ip=209.85.215.41; Received: by lagj9 with SMTP id j9so8380208lag.2 for ; Wed, 02 Sep 2015 07:25:03 -0700 (PDT) X-Received: by 10.152.26.163 with SMTP id m3mr16185979lag.86.1441203903095; Wed, 02 Sep 2015 07:25:03 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.164.42 with SMTP id yn10csp614733lbb; Wed, 2 Sep 2015 07:25:01 -0700 (PDT) X-Received: by 10.68.250.228 with SMTP id zf4mr56255935pbc.90.1441203901766; Wed, 02 Sep 2015 07:25:01 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id vr1si32358668pab.21.2015.09.02.07.24.56; Wed, 02 Sep 2015 07:25:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754865AbbIBOYp (ORCPT + 28 others); Wed, 2 Sep 2015 10:24:45 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:56874 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753929AbbIBOYm (ORCPT ); Wed, 2 Sep 2015 10:24:42 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id t82EOcfi014500; Wed, 2 Sep 2015 09:24:38 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id t82EObLB005108; Wed, 2 Sep 2015 09:24:37 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.224.2; Wed, 2 Sep 2015 09:24:37 -0500 Received: from rockdesk.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id t82EOPFQ024150; Wed, 2 Sep 2015 09:24:35 -0500 From: Roger Quadros To: CC: , , , , , , , , Roger Quadros Subject: [PATCH v4 3/9] usb: dwc3: dwc3-omap: Make the wrapper interrupt shared Date: Wed, 2 Sep 2015 17:24:18 +0300 Message-ID: <1441203864-15786-4-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1441203864-15786-1-git-send-email-rogerq@ti.com> References: <1441203864-15786-1-git-send-email-rogerq@ti.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: rogerq@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.41 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The wrapper interrupt is shared with OTG core so mark it IRQF_SHARED. Signed-off-by: Roger Quadros --- drivers/usb/dwc3/dwc3-omap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-omap.c b/drivers/usb/dwc3/dwc3-omap.c index a5a1b7c..b18f2a3 100644 --- a/drivers/usb/dwc3/dwc3-omap.c +++ b/drivers/usb/dwc3/dwc3-omap.c @@ -506,8 +506,8 @@ static int dwc3_omap_probe(struct platform_device *pdev) reg = dwc3_omap_readl(omap->base, USBOTGSS_SYSCONFIG); omap->dma_status = !!(reg & USBOTGSS_SYSCONFIG_DMADISABLE); - ret = devm_request_irq(dev, omap->irq, dwc3_omap_interrupt, 0, - "dwc3-omap", omap); + ret = devm_request_irq(dev, omap->irq, dwc3_omap_interrupt, IRQF_SHARED, + "dwc3-omap", omap); if (ret) { dev_err(dev, "failed to request IRQ #%d --> %d\n", omap->irq, ret);