Commit c71af4d6 authored by Lorenzo Pieralisi's avatar Lorenzo Pieralisi Committed by Rob Herring (Arm)
Browse files

of/irq: Fix OF node refcount in of_msi_get_domain()



In of_msi_get_domain() if the iterator loop stops early because an
irq_domain match is detected, an of_node_put() on the iterator node is
needed to keep the OF node refcount in sync.

Add it.

Signed-off-by: default avatarLorenzo Pieralisi <lpieralisi@kernel.org>
Reviewed-by: default avatarFrank Li <Frank.Li@nxp.com>
Cc: Rob Herring <robh@kernel.org>
Link: https://patch.msgid.link/20251021124103.198419-3-lpieralisi@kernel.org


Signed-off-by: default avatarRob Herring (Arm) <robh@kernel.org>
parent 119aaeed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment