Skip to content
Commit 782bfd03 authored by Saravana Kannan's avatar Saravana Kannan Committed by Rob Herring
Browse files

of: property: Improve finding the supplier of a remote-endpoint property



After commit 4a032827 ("of: property: Simplify of_link_to_phandle()"),
remote-endpoint properties created a fwnode link from the consumer device
to the supplier endpoint. This is a tiny bit inefficient (not buggy) when
trying to create device links or detecting cycles. So, improve this the
same way we improved finding the consumer of a remote-endpoint property.

Fixes: 4a032827 ("of: property: Simplify of_link_to_phandle()")
Signed-off-by: default avatarSaravana Kannan <saravanak@google.com>
Link: https://lore.kernel.org/r/20240207011803.2637531-3-saravanak@google.com


Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent f4653ec9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment