diff options
author | Wang Yufen <wangyufen@huawei.com> | 2022-12-05 11:04:24 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-12-07 15:19:11 +0100 |
commit | 3327d721114c109ba0575f86f8fda3b525404054 (patch) | |
tree | a00851d659d5188ee92e74587352e52dcbc851c3 /sound/xen | |
parent | ASoC: Intel: avs: Data probing and fw logging (diff) | |
download | linux-3327d721114c109ba0575f86f8fda3b525404054.tar.xz linux-3327d721114c109ba0575f86f8fda3b525404054.zip |
ASoC: mediatek: mt8173-rt5650-rt5514: fix refcount leak in mt8173_rt5650_rt5514_dev_probe()
The node returned by of_parse_phandle() with refcount incremented,
of_node_put() needs be called when finish using it. So add it in the
error path in mt8173_rt5650_rt5514_dev_probe().
Fixes: 0d1d7a664288 ("ASoC: mediatek: Refine mt8173 driver and change config option")
Signed-off-by: Wang Yufen <wangyufen@huawei.com>
Link: https://lore.kernel.org/r/1670234664-24246-1-git-send-email-wangyufen@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/xen')
0 files changed, 0 insertions, 0 deletions