linux-stable/sound/soc/mediatek/mt2701
Miaoqian Lin 05654431a1
ASoC: mediatek: Fix missing of_node_put in mt2701_wm8960_machine_probe
This node pointer is returned by of_parse_phandle() with
refcount incremented in this function.
Calling of_node_put() to avoid the refcount leak.

Fixes: 8625c1dbd8 ("ASoC: mediatek: Add mt2701-wm8960 machine driver")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Link: https://lore.kernel.org/r/20220404093526.30004-1-linmq006@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-04-05 10:44:31 +01:00
..
Makefile ASoC: mediatek: switch to SPDX license tag 2018-04-26 15:09:36 +01:00
mt2701-afe-clock-ctrl.c ASoC: mediatek: switch to SPDX license tag 2018-04-26 15:09:36 +01:00
mt2701-afe-clock-ctrl.h ASoC: mediatek: mt2701: align function prototype 2021-03-12 14:29:52 +00:00
mt2701-afe-common.h ASoC: mediatek: mt2701: Fix -Wunused-const-variable warnings 2019-08-22 18:29:01 +01:00
mt2701-afe-pcm.c ASoC: mediatek: remove unnecessary CONFIG_PM 2021-11-25 11:54:28 +00:00
mt2701-cs42448.c ASoC: mediatek: Constify static snd_soc_ops 2021-10-13 12:59:28 +01:00
mt2701-reg.h ASoC: mediatek: switch to SPDX license tag 2018-04-26 15:09:36 +01:00
mt2701-wm8960.c ASoC: mediatek: Fix missing of_node_put in mt2701_wm8960_machine_probe 2022-04-05 10:44:31 +01:00