Re: [PATCH] soundwire: fix usages of device_get_named_child_node()

From: Vinod Koul
Date: Sat May 04 2024 - 08:56:35 EST


On 29-04-24, 00:49, Bard Liao wrote:
> From: Pierre-Louis Bossart <pierre-louis.bossart@xxxxxxxxxxxxxxx>
>
> The documentation for device_get_named_child_node() mentions this
> important point:
>
> "
> The caller is responsible for calling fwnode_handle_put() on the
> returned fwnode pointer.
> "
>
> Add fwnode_handle_put() to avoid leaked references.

This fails on sdw/next for me

--
~Vinod