Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp254615pxf; Wed, 31 Mar 2021 23:41:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwQNgBCvcAPcI6PaM7ryT8emN34JX4mLR0bkfgRVWNqvgwMgwJbk/wEJYMyu4M0zGpqcBLX X-Received: by 2002:a17:906:8a61:: with SMTP id hy1mr7557762ejc.59.1617259300784; Wed, 31 Mar 2021 23:41:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617259300; cv=none; d=google.com; s=arc-20160816; b=Eg8RTtG1tHX90YNQGJIuH1b/kqG2LMk4mCLOREKmXequZ/8XmvAAnQCZk5URmtkCYM KDwbJlQ9TWF1YIl9grewAkJQkd80DqYG/LhZAbIpj/isk8sYU06SFvrumWhBfonGVSJQ HBSgagE4i1lGTYcsiZFFEWtBhydA2oAq9aSQsdhUbVN2P2xEVPlSFeSq55WEltnTMD93 toy3WoV+DGddWHvUy0LrvOfBq2DfJOlj1gsmNmwuVfKbTERPd8zn1NfZWLfSK57R6149 GQRWl3naowJslQ8u77VrOtdS94AbqcfxFSwC5I8lLe9wW//eN+eCtyiw++h66SeRpYUh 5PnQ== 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=/XdTAJ4d9YGVxtLnc4VK7bs8XdDXJ0zYEtfBvCGP3bA=; b=usbipMIF69GUI1M7SK0HwtWrmQSMrUbwItB1ypip9QepNuSlKMy4eyM4XHx2xlbOes oLeeWHXuAMXhqX3IasQ2Eb+EfE/CynyPQRTWXn7G7kajwhFbhnRHO+HPoKZQGyfxuOwu V7N8alnM9OIS1AfO00vqQKDPa3Uwkf55SSdF/CQ0iDjA49B9GSiOu/n0IYF+NQzR5T1A wx70EImQ35plPMasa2nLQ2d/UsIgMCqgD6TZnwQkzz1CGt9Vir8pAlhGxqq7EnQmu/I7 WG30sdiNzbVTCSub0f1mHAEkaAqpJuusM4ZBL0PpKpS+Vnqi2KyXqda1b/6440gRfwZV amTg== 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 j22si3599711ejb.269.2021.03.31.23.41.18; Wed, 31 Mar 2021 23:41:40 -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 S232951AbhDAGkY (ORCPT + 99 others); Thu, 1 Apr 2021 02:40:24 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:42022 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S233450AbhDAGjz (ORCPT ); Thu, 1 Apr 2021 02:39:55 -0400 X-UUID: 61bdbf360ed84318a5b292fbe3fccc2b-20210401 X-UUID: 61bdbf360ed84318a5b292fbe3fccc2b-20210401 Received: from mtkmrs01.mediatek.inc [(172.21.131.159)] 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 681415098; Thu, 01 Apr 2021 14:39:52 +0800 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 1 Apr 2021 14:39:51 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 1 Apr 2021 14:39:51 +0800 From: Nina Wu To: Rob Herring , Matthias Brugger CC: Nina Wu , Zhen Lei , Neal Liu , , , , , , Subject: [PATCH v2 3/6] soc: mediatek: devapc: add shared flag to IRQ Date: Thu, 1 Apr 2021 14:38:04 +0800 Message-ID: <1617259087-5502-3-git-send-email-nina-cm.wu@mediatek.com> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1617259087-5502-1-git-send-email-nina-cm.wu@mediatek.com> References: <1617259087-5502-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 a0f6fbd..68c3e35 100644 --- a/drivers/soc/mediatek/mtk-devapc.c +++ b/drivers/soc/mediatek/mtk-devapc.c @@ -268,7 +268,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