]> Git Repo - linux.git/commit
of/irq: Factor out parsing of interrupt-map parent phandle+args from of_irq_parse_raw()
authorRob Herring (Arm) <[email protected]>
Wed, 29 May 2024 19:59:20 +0000 (14:59 -0500)
committerRob Herring (Arm) <[email protected]>
Fri, 31 May 2024 00:43:19 +0000 (19:43 -0500)
commit935df1bd40d43c4ee91838c42a20e9af751885cc
tree647dcc875b485e3e553f5a9b44c1730d60845910
parent321e4fa68ce15660ec578bdec5cc9607635087cf
of/irq: Factor out parsing of interrupt-map parent phandle+args from of_irq_parse_raw()

Factor out the parsing of interrupt-map interrupt parent phandle and its
arg cells to a separate function, of_irq_parse_imap_parent(), so that it
can be used in other parsing scenarios (e.g. fw_devlink).

There was a refcount leak on non-matching entries when iterating thru
"interrupt-map" which is fixed.

Tested-by: Marc Zyngier <[email protected]>
Tested-by: Anup Patel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Rob Herring (Arm) <[email protected]>
drivers/of/irq.c
drivers/of/of_private.h
This page took 0.050629 seconds and 4 git commands to generate.