]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ACPI: property: Use ACPI functions in acpi_graph_get_next_endpoint() only
authorSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 1 Oct 2025 10:43:19 +0000 (13:43 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Jan 2026 12:09:41 +0000 (13:09 +0100)
commit08ba2b9983ad4a60560a42f797e27a054f07a36e
treedcda409f8ecd2859ef88545f642e51203e98c527
parentecb296286c8787895625bd4c53e9478db4ae139c
ACPI: property: Use ACPI functions in acpi_graph_get_next_endpoint() only

[ Upstream commit 5d010473cdeaabf6a2d3a9e2aed2186c1b73c213 ]

Calling fwnode_get_next_child_node() in ACPI implementation of the fwnode
property API is somewhat problematic as the latter is used in the
impelementation of the former. Instead of using
fwnode_get_next_child_node() in acpi_graph_get_next_endpoint(), call
acpi_get_next_subnode() directly instead.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Link: https://patch.msgid.link/20251001104320.1272752-3-sakari.ailus@linux.intel.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/acpi/property.c