[alsa-devel] [PATCH] ASoC: audio-graph-scu-card: fix balance of of_node_get/put()

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Mon Jul 31 02:57:09 CEST 2017


Hi

> From: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
> 
> audio-graph-scu-card with CONFIG_OF_DYNAMIC triggers several
> errors at kernel boot, like the following one
> OF: ERROR: Bad of_node_put() on /soc/sound at ec500000/ports/port at 1
> 
> This patch doesn't call unnecessary of_node_put() which was
> called in other function (= of_graph_get_port_parent(),
> of_phandle_iterator_next())
> 
> Reported-by: Antonio Borneo <borneo.antonio at gmail.com>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
> ---

Tony Lindgren's patch solved this issue, too
This patch is no longer needed 

Best regards
---
Kuninori Morimoto


More information about the Alsa-devel mailing list