linux-stable/sound/soc/mediatek/mt6797
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
..
Makefile ASoC: mt6797: add Hostless DAI 2018-05-31 11:25:08 +01:00
mt6797-afe-clk.c ASoC: mt6797: switch to SPDX license tag 2018-04-27 11:52:32 +01:00
mt6797-afe-clk.h ASoC: mt6797: switch to SPDX license tag 2018-04-27 11:52:32 +01:00
mt6797-afe-common.h ASoC: mt6797: sub dai use list_head 2018-06-29 13:31:53 +01:00
mt6797-afe-pcm.c ASoC: mediatek: remove unnecessary CONFIG_PM 2021-11-25 11:54:28 +00:00
mt6797-dai-adda.c ASoC: mt6797: sub dai use list_head 2018-06-29 13:31:53 +01:00
mt6797-dai-hostless.c ASoC: mt6797: sub dai use list_head 2018-06-29 13:31:53 +01:00
mt6797-dai-pcm.c ASoC: mediatek: sync parameter naming (rate/sample_bits) 2021-01-21 12:37:55 +00:00
mt6797-interconnection.h ASoC: mt6797: switch to SPDX license tag 2018-04-27 11:52:32 +01:00
mt6797-mt6351.c ASoC: mt6797-mt6351: Fix refcount leak in mt6797_mt6351_dev_probe 2022-06-06 12:38:49 +01:00
mt6797-reg.h ASoC: mt6797: add PCM interface 2018-05-31 11:25:04 +01:00