From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Jianhua Lu Date: Wed, 3 Apr 2024 23:03:35 +0800 Subject: of: property: fix remote-endpoint parse --- drivers/of/property.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/of/property.c b/drivers/of/property.c index 111111111111..222222222222 100644 --- a/drivers/of/property.c +++ b/drivers/of/property.c @@ -1319,7 +1319,7 @@ static struct device_node *parse_remote_endpoint(struct device_node *np, if (index > 0 || strcmp(prop_name, "remote-endpoint")) return NULL; - return of_graph_get_remote_port_parent(np); + return of_graph_get_remote_port(np); } static const struct supplier_bindings of_supplier_bindings[] = { -- Armbian