linux/sound/soc/mediatek
Miaoqian Lin ae4f11c1ed
ASoC: mediatek: mt8173: Fix refcount leak in mt8173_rt5650_rt5676_dev_probe
of_parse_phandle() returns a node pointer with refcount
incremented, we should use of_node_put() on it when not need anymore.
Fix missing of_node_put() in error paths.

Fixes: 94319ba10e ("ASoC: mediatek: Use platform_of_node for machine drivers")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Link: https://lore.kernel.org/r/20220602034144.60159-1-linmq006@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-06-06 12:38:35 +01:00
..
common ASoC: mediatek: remove unnecessary initialization 2021-10-27 11:31:12 +01:00
mt2701 ASoC: mediatek: Fix missing of_node_put in mt2701_wm8960_machine_probe 2022-04-05 10:44:31 +01:00
mt6797 ASoC: mediatek: remove unnecessary CONFIG_PM 2021-11-25 11:54:28 +00:00
mt8173 ASoC: mediatek: mt8173: Fix refcount leak in mt8173_rt5650_rt5676_dev_probe 2022-06-06 12:38:35 +01:00
mt8183 ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
mt8192 ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
mt8195 ASoC: mediatek: mt8195: Fix build warning without CONFIG_OF 2022-05-09 19:04:37 +01:00
Kconfig ASoC: mediatek: mt8192: support rt1015p_rt5682s 2022-04-08 12:09:51 +01:00
Makefile ASoC: mediatek: mt8195: add platform driver 2021-08-24 19:13:56 +01:00