]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: mediatek: mt8195: Add missing of_node_put()
authorBixuan Cui <cuibixuan@huawei.com>
Sat, 11 Sep 2021 08:12:46 +0000 (16:12 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 15 Sep 2021 12:12:26 +0000 (13:12 +0100)
commit6a4dbd7e6bcd90eb80c757a684eaa9a80e2be517
tree6816ded55671c30e8362c47a76912a4c57475d60
parent97a78a2ab30a2cab0a97d0f05e00c0e10ef4d6e5
ASoC: mediatek: mt8195: Add missing of_node_put()

The platform_node is returned by of_parse_phandle() should have
of_node_put() before return.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Bixuan Cui <cuibixuan@huawei.com>
Link: https://lore.kernel.org/r/20210911081246.33867-1-cuibixuan@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8195/mt8195-mt6359-rt1019-rt5682.c