diff mbox series

[v3,3/7] soc: mediatek: devapc: add shared flag to IRQ

Message ID 1617956377-4075-3-git-send-email-nina-cm.wu@mediatek.com (mailing list archive)
State New
Headers show
Series [v3,1/7] dt-bindings: devapc: Add 'vio-idx-num' field to support mt8192 | expand

Commit Message

Nina Wu April 9, 2021, 8:19 a.m. UTC
From: Nina Wu <Nina-CM.Wu@mediatek.com>

For new ICs, there are multiple devapc HWs for different subsys.
They all share the same IRQ number.

Signed-off-by: Nina Wu <Nina-CM.Wu@mediatek.com>
 drivers/soc/mediatek/mtk-devapc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series


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) {
 		return ret;