Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1163497pxf; Fri, 9 Apr 2021 01:23:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXsUHbyHWo4VXyMINr7/4/yybdU8bqnt/EON2tOxgrzkupU2v7SFQ7/qyl+mOv070TN400 X-Received: by 2002:a17:902:6b02:b029:e9:8e2:d107 with SMTP id o2-20020a1709026b02b02900e908e2d107mr11841134plk.61.1617956592781; Fri, 09 Apr 2021 01:23:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617956592; cv=none; d=google.com; s=arc-20160816; b=0s9+mZEwJFFdgW74s+yPRG/lwguBdiFfDevvUlEfYWqHiK8M9AShwKwW9AXxOffIGs uluxqbjl2O2Ok9LALSyeY8ZBUApofYjc8N1jX+WunU874EvcUOUFQ5FgsQjzJpPF3ZcG jtDZ67KBvgrvYJ7VJOrqj3XZ6DFX+M/6Xa3NnlFBnG/wA20vXzcSD9GrCY1PVycTkBDn UFREpfCWUSv2RJP7Nk7Kp1uWgGkJZHtNir6GUkyoDbNfEBfmREqnOXcZ66oGnzb1xSe7 YDKS2XsD9hQCfKBK7fJMWNe4S2/lKcmlVdvKRX1GgoaVWOt0ov7GrwrX2OMaV6JPMmYE ibSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=ykRaKBB4tk59xBqw3Rdw473tlC4wytGCFAI/jUr8Ags=; b=NrT+jW4JhqFCZ3uW2nyT7AELsuaIb6ApOpl0PT+aO9j3jrXpmEeBtpFduOk6ierDsu n6tTw8itzAZuJjHx96aoEJG8PYZqEJCfmu5BUITKOxvSjRtGTRvPVnEIAj0+cqRWvuhg DXDxmrwr8vf6yp/afE4+Srx+nfL0is+5OIC9StCKyxjBiZ8VtJXrFFUoqoU91sVnM9x8 4ileCdWSNfMXye5TSRFG6AG+mmX15dGC64We9yijwmhGuuxrm30j14jbrtoizLXdJYks JJhbq9kf/w0WZTGRo8tXx+VbriLbJQfze1kp+Z9miINxJNFVW2qCKNudn1p3+4pB3TtG TLxw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k17si2220328pji.7.2021.04.09.01.23.01; Fri, 09 Apr 2021 01:23:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232046AbhDIIVO (ORCPT + 99 others); Fri, 9 Apr 2021 04:21:14 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:54441 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S229829AbhDIIVN (ORCPT ); Fri, 9 Apr 2021 04:21:13 -0400 X-UUID: 08b685500b2d4582b914945bc35191e9-20210409 X-UUID: 08b685500b2d4582b914945bc35191e9-20210409 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1246438529; Fri, 09 Apr 2021 16:20:57 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 9 Apr 2021 16:20:55 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 9 Apr 2021 16:20:55 +0800 From: Nina Wu To: Rob Herring , Matthias Brugger CC: Nina Wu , Zhen Lei , Neal Liu , , , , , , Subject: [PATCH v3 3/7] soc: mediatek: devapc: add shared flag to IRQ Date: Fri, 9 Apr 2021 16:19:33 +0800 Message-ID: <1617956377-4075-3-git-send-email-nina-cm.wu@mediatek.com> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1617956377-4075-1-git-send-email-nina-cm.wu@mediatek.com> References: <1617956377-4075-1-git-send-email-nina-cm.wu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Nina Wu For new ICs, there are multiple devapc HWs for different subsys. They all share the same IRQ number. Signed-off-by: Nina Wu --- drivers/soc/mediatek/mtk-devapc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/mediatek/mtk-devapc.c b/drivers/soc/mediatek/mtk-devapc.c index 71643d1..6d58a75 100644 --- a/drivers/soc/mediatek/mtk-devapc.c +++ b/drivers/soc/mediatek/mtk-devapc.c @@ -281,7 +281,7 @@ static int mtk_devapc_probe(struct platform_device *pdev) return -EINVAL; ret = devm_request_irq(&pdev->dev, devapc_irq, devapc_violation_irq, - IRQF_TRIGGER_NONE, "devapc", ctx); + IRQF_TRIGGER_NONE | IRQF_SHARED, "devapc", ctx); if (ret) { clk_disable_unprepare(ctx->infra_clk); return ret; -- 2.6.4