Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4061364pxj; Mon, 24 May 2021 22:55:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwrVy1B80neEPnmJf1bDUlDLirubZd9Xiuwwv/qk3vzvMGPuP1jlgjaEbtYV2xURqLEoSrv X-Received: by 2002:a17:906:fa93:: with SMTP id lt19mr27179673ejb.14.1621922147494; Mon, 24 May 2021 22:55:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621922147; cv=none; d=google.com; s=arc-20160816; b=KA24B8oAL2+pHZDvpBn7e2LFMTAvVHaH5ziFB6dtWxBOOZ6AS62TzZ1aG38q/iL10Q YDZuWyP9JcUh2f3ERgPPZQkmdo0cD7h3QLT0mhe8psQRlSlYFD6d8DnGhbf4/Pfe0lVs N1a4jrznNE40NW67vYnZ6J4Ik96HcEAPQAtvRuz84FCUf87o9vPI0oqDRLs3UggKPGD+ 61TawzUMGI1OSYAVa40s1IAs3qpDFQWTQzm9I4Ib132zbwGQdOKCdWu4KnkLuGu43yZx iydjc/1Sx5rOS6CSQnLjB+J82UQ89efv3GyrNEhKXWHejcVOi8NNutHWOP+wi+G6Ea9+ dA2w== 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=m+DpCbA1L9YQbn9BeVkN0rO/iTUBP5y4dVOtBQk1UYnHp8U1cdQVHNTXJjQ1VGAXgI 3qwnMkfDNns+QGebc07y8cwsVniG/vAlbvL7dlglOJ5H5HvS/Y8BLzskmpYkz3kqH+ZH yJxJMivuPvag8pUkOG7FUxO4FJMXAkF6SRry8sPguX+XjMkUhIElqSLCwjF/YfmgIUs5 Y4ge1mGgpBeS3hTqLITcCfTCFqy1rTIoeZcngSUNzq2ddS6iX/1h07z6uZ1cHXooXboW vxwoFmRJFKyyaWzJzJPzbYjOLZq0P5b+O5VnGnR1votOMD8aJnsaA6NJJX9Wo9DrMq5F GGUw== 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 v4si7051798edj.103.2021.05.24.22.55.25; Mon, 24 May 2021 22:55:47 -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 S231204AbhEYFzL (ORCPT + 99 others); Tue, 25 May 2021 01:55:11 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:55450 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S231185AbhEYFzJ (ORCPT ); Tue, 25 May 2021 01:55:09 -0400 X-UUID: e1ecea412c79465d8f63d6b170e7409a-20210525 X-UUID: e1ecea412c79465d8f63d6b170e7409a-20210525 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 45104748; Tue, 25 May 2021 13:53:36 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 25 May 2021 13:53:35 +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; Tue, 25 May 2021 13:53:35 +0800 From: Nina Wu To: Rob Herring , Matthias Brugger CC: Zhen Lei , Nina Wu , , , , , , , Subject: [PATCH v4 3/7] soc: mediatek: devapc: add shared flag to IRQ Date: Tue, 25 May 2021 13:53:02 +0800 Message-ID: <1621921986-20578-3-git-send-email-nina-cm.wu@mediatek.com> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1621921986-20578-1-git-send-email-nina-cm.wu@mediatek.com> References: <1621921986-20578-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