acrn-kernel/sound/soc/mediatek/mt8173
Wang Yufen 3327d72111
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: 0d1d7a6642 ("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>
2022-12-07 14:19:11 +00:00
..
Makefile
mt8173-afe-common.h
mt8173-afe-pcm.c ASoC: mediatek: mt8173: Enable IRQ when pdata is ready 2022-11-28 16:40:17 +00:00
mt8173-max98090.c
mt8173-rt5650-rt5514.c ASoC: mediatek: mt8173-rt5650-rt5514: fix refcount leak in mt8173_rt5650_rt5514_dev_probe() 2022-12-07 14:19:11 +00:00
mt8173-rt5650-rt5676.c ASoC: mediatek: mt8173: Fix refcount leak in mt8173_rt5650_rt5676_dev_probe 2022-06-06 12:38:35 +01:00
mt8173-rt5650.c ASoC: mediatek: mt8173-rt5650: Fix refcount leak in mt8173_rt5650_dev_probe 2022-06-07 12:00:44 +01:00