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)
commitb2fc2c92d2fd34d93268f677e514936f50dd6b5c
tree6816ded55671c30e8362c47a76912a4c57475d60
parent1e5dd2b9d63f8b6d1ccb8f0ca97f5daf5e2d720c
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