[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241108023440.29509-1-chanho.min@lge.com>
Date: Fri, 8 Nov 2024 11:34:40 +0900
From: Chanho Min <chanho.min@....com>
To: Rob Herring <robh@...nel.org>,
Saravana Kannan <saravanak@...gle.com>,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: gunho.lee@....com,
Chanho Min <chanho.min@....com>
Subject: [PATCH] of/irq: Fix a missed udpate of out_irq->np
Since commit 935df1bd40d4 ("of/irq: Factor out parsing of interrupt-map parent
phandle+args from of_irq_parse_raw()"), An interrupt tree without
an interrupt-map is not updated to the parent interrupt and it causes the irq
domain not to be found in some out-of-tree device-tree.
Fixes: 935df1bd40d4 ("of/irq: Factor out parsing of interrupt-map parent phandle+args from of_irq_parse_raw()")
Signed-off-by: Chanho Min <chanho.min@....com>
---
drivers/of/irq.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/of/irq.c b/drivers/of/irq.c
index 8fd63100ba8f..3fa3c833e2dc 100644
--- a/drivers/of/irq.c
+++ b/drivers/of/irq.c
@@ -315,6 +315,7 @@ int of_irq_parse_raw(const __be32 *addr, struct of_phandle_args *out_irq)
skiplevel:
/* Iterate again with new parent */
+ out_irq->np = newpar;
pr_debug(" -> new parent: %pOF\n", newpar);
of_node_put(ipar);
ipar = newpar;
--
2.17.1
Powered by blists - more mailing lists