Skip to content
Commit ee4d36a1 authored by Herve Codina's avatar Herve Codina Committed by Greg Kroah-Hartman
Browse files

ASoC: simple-card: Add missing of_node_put() in case of error

[ Upstream commit 8938f75a

 ]

In the error path, a of_node_put() for platform is missing.
Just add it.

Signed-off-by: default avatarHerve Codina <herve.codina@bootlin.com>
Acked-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/20230523151223.109551-9-herve.codina@bootlin.com
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent e701fb0a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment