Re: [PATCH RESEND v3 0/2] Check for endpoints in fwnode->secondary more sensibly
From: "Rafael J. Wysocki" <rafael@kernel.org>
Date: 2021-08-16 16:37:07
Also in:
lkml
From: "Rafael J. Wysocki" <rafael@kernel.org>
Date: 2021-08-16 16:37:07
Also in:
lkml
On Sat, Aug 7, 2021 at 12:09 AM Daniel Scally [off-list ref] wrote:
Hello all A while ago I patched fwnode_graph_get_endpoint_by_id() to check for endpoints against fwnode->secondary if none was found against the primary. It's actually better to do this in fwnode_graph_get_next_endpoint() instead, since that function is called by fwnode_graph_get_endpoint_by_id() and also directly called in a bunch of other places (primarily sensor drivers checking that they have endpoints connected during probe). This small series just adds the equivalent functionality to fwnode_graph_get_next_endpoint() and reverts the earlier commit. Resending with +CC linux-acpi
Both patches applied as 5.15 material, thanks!