[PATCH] ASoC: rsnd: Fix an error handling path in 'rsnd_node_count()'

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Tue Oct 19 01:13:35 CEST 2021


Hi

> If we return before the end of the 'for_each_child_of_node()' iterator, the
> reference taken on 'np' must be released.
> 
> Add the missing 'of_node_put()' call.
> 
> Fixes: c413983eb66a ("ASoC: rsnd: adjust disabled module")
> Signed-off-by: Christophe JAILLET <christophe.jaillet at wanadoo.fr>
> ---

Reviewed-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>

Thank you for your help !!

Best regards
---
Kuninori Morimoto


More information about the Alsa-devel mailing list