ASoC: simple-card: Add missing of_node_put() in case of error
stable inclusion from stable-v5.10.186 commit fa08753c2d049442cb4c990759befd3e4effdc0b category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8J4KH Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=fa08753c2d049442cb4c990759befd3e4effdc0b -------------------------------- [ Upstream commit 8938f75a ] In the error path, a of_node_put() for platform is missing. Just add it. Signed-off-by:Herve Codina <herve.codina@bootlin.com> Acked-by:
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://lore.kernel.org/r/20230523151223.109551-9-herve.codina@bootlin.com Signed-off-by:
Mark Brown <broonie@kernel.org> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment