linux-stable/sound/soc/mediatek
Miaoqian Lin 994f2edeeb ASoC: mediatek: mt8173-rt5650: Fix refcount leak in mt8173_rt5650_dev_probe
[ Upstream commit efe2178d1a ]

of_parse_phandle() returns a node pointer with refcount
incremented, we should use of_node_put() on it when not need anymore.
Fix refcount leak in some error paths.

Fixes: 0f83f9296d ("ASoC: mediatek: Add machine driver for ALC5650 codec")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Link: https://lore.kernel.org/r/20220603124243.31358-1-linmq006@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-08-17 14:24:02 +02:00
..
common ASoC: mediatek: common: handle NULL case in suspend/resume function 2021-09-10 15:08:26 +01:00
mt2701 ASoC: mediatek: Fix missing of_node_put in mt2701_wm8960_machine_probe 2022-06-09 10:22:45 +02:00
mt6797 ASoC: mt6797-mt6351: Fix refcount leak in mt6797_mt6351_dev_probe 2022-08-17 14:24:02 +02:00
mt8173 ASoC: mediatek: mt8173-rt5650: Fix refcount leak in mt8173_rt5650_dev_probe 2022-08-17 14:24:02 +02:00
mt8183 ASoC: mediatek: use of_device_get_match_data() 2022-04-08 14:23:21 +02:00
mt8192 ASoC: mediatek: mt8192-mt6359: Fix error handling in mt8192_mt6359_dev_probe 2022-04-08 14:23:21 +02:00
mt8195 ASoC: mediatek: mt8195: correct pcmif BE dai control flow 2022-01-27 11:04:17 +01:00
Kconfig ASoC: mediatek: add required config dependency 2021-09-09 14:16:25 +01:00
Makefile ASoC: mediatek: mt8195: add platform driver 2021-08-24 19:13:56 +01:00