WSL2-Linux-Kernel/sound/soc/mediatek
Miaoqian Lin 61a85a20e8 ASoC: mediatek: Fix missing of_node_put in mt2701_wm8960_machine_probe
[ Upstream commit 05654431a1 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-06-09 10:22:45 +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: mediatek: sync parameter naming (rate/sample_bits) 2021-01-21 12:37:55 +00:00
mt8173 ASoC: mediatek: Fix error handling in mt8173_max98090_dev_probe 2022-06-09 10:22:45 +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