Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp2334106pxt; Sun, 8 Aug 2021 20:17:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyWMDzzIIqx7KIeSyJ4G1xUzvptgByMRE9EjalsyvtgTr4Sp1T6GSpAgFnd39Bv4/Fvim/1 X-Received: by 2002:a17:906:d045:: with SMTP id bo5mr20924592ejb.461.1628479033894; Sun, 08 Aug 2021 20:17:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628479033; cv=none; d=google.com; s=arc-20160816; b=JAzYu9AThdw+1vvlq5ftMvoQwAJYWLFz4u9FAdWCnhbnOWxKJcbfvOIPchKBytG3gE 1/JFDL7dwQxqBIGiNdcsWXvr1jxuX4yH1p9MwhdzN9hGYKeizF0roX9lQTdDz3eSktdU 64DIOSJbjsqKrP23MEiPca7JtgxO8Q24ibXqX7Y92XCQG3q2PQ3A9yFPWrtbPVGtAXuL dnlc+FtUO0g6K1hhBmSbyB20CZ3HIWl6Zq8JFYaCW0tibAy/+JWCpeJ1ntB1hAj/k+HE LZG4KR0BVl0IT/fwy2wpTr6afthS1CPTIIb9VHuY7UWh//BZxyoMEf/bkQfBJ2uQX3xY ZsJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:mime-version:references:in-reply-to :message-id:date:subject:cc:from; bh=jCzLVf9naZ5y1U+MduN+Abkw5mJtN4Op1E/oe/uOMiA=; b=MjdrBnkEhK4w5XlYNH7e0CD6xbHpNkKpC50YRwMxj5hVAmAtOgaCWoFDIBZhUL2UUi lo3zAj7rMgPGqbDiWw4E0TpD/xxheAVfTbwfNVwfz6DcU5dtBRAJxSjL4r+4119bb2VP cwNpqgLwKf5wzvf0qEbAk1FT0b4BzzVKwDz0zjLEZyNQyUXy/Tn+XLYroTqKUC3zsBZ0 rm4/ehvh/EERS6CN13/AaZio1zE43fCAj6HJ674iwL9O202ENRvKjsw3zEmBYo2ySHea Ak2ngB01D7ZJjp/6x65HotM9jTdNt4UG7GSAY0DD57ZMSIv/UN5YcDX24xZXrVEnuQ35 1yyA== 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 bd3si16404307edb.155.2021.08.08.20.16.51; Sun, 08 Aug 2021 20:17:13 -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 S231607AbhHIDJG (ORCPT + 99 others); Sun, 8 Aug 2021 23:09:06 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:44830 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S232786AbhHIDJB (ORCPT ); Sun, 8 Aug 2021 23:09:01 -0400 X-UUID: d1a6caca9d17441983a239742aaaa819-20210809 X-UUID: d1a6caca9d17441983a239742aaaa819-20210809 Received: from mtkmbs10n1.mediatek.inc [(172.21.101.34)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1078823801; Mon, 09 Aug 2021 11:08:37 +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; Mon, 9 Aug 2021 11:08:36 +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; Mon, 9 Aug 2021 11:08:36 +0800 From: Nina Wu CC: Rob Herring , Matthias Brugger , Nina Wu , Neal Liu , Zhen Lei , , , , , , , Subject: [v4 3/7] soc: mediatek: devapc: add shared flag to IRQ Date: Mon, 9 Aug 2021 11:08:15 +0800 Message-ID: <1628478499-29460-3-git-send-email-nina-cm.wu@mediatek.com> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1628478499-29460-1-git-send-email-nina-cm.wu@mediatek.com> References: <1628478499-29460-1-git-send-email-nina-cm.wu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N To: unlisted-recipients:; (no To-header on input) 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 86bddb2..abc0962 100644 --- a/drivers/soc/mediatek/mtk-devapc.c +++ b/drivers/soc/mediatek/mtk-devapc.c @@ -282,7 +282,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