linux/sound/soc/mediatek
Miaoqian Lin 7472eb8d7d
ASoC: mt6797-mt6351: Fix refcount leak in mt6797_mt6351_dev_probe
of_parse_phandle() returns a node pointer with refcount
incremented, we should use of_node_put() on it when not need anymore.
Add missing of_node_put() to avoid refcount leak.

Fixes: f0ab0bf250 ("ASoC: add mt6797-mt6351 driver and config option")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Link: https://lore.kernel.org/r/20220603083417.9011-1-linmq006@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-06-06 12:38:49 +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: mt6797-mt6351: Fix refcount leak in mt6797_mt6351_dev_probe 2022-06-06 12:38:49 +01: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