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>
This commit is contained in:
Bixuan Cui 2021-09-11 16:12:46 +08:00 • committed by Mark Brown
commit b2fc2c92d2
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0