ASoC: qcom: Fix missing of_node_put() in asoc_qcom_lpass_cpu_platform_probe()
authorLiang He <windhl@126.com>
Sat, 2 Jul 2022 02:01:09 +0000 (10:01 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 4 Jul 2022 11:44:13 +0000 (12:44 +0100)
commitf507c0c67dac57d2bcd5dcae4b6139b0305d8957
tree69806e79a62095c553c81d1a769d663a0b99f26f
parent68f26639dc40b5d6aca201f3e250a1538e68eae6
ASoC: qcom: Fix missing of_node_put() in asoc_qcom_lpass_cpu_platform_probe()

We should call of_node_put() for the reference 'dsp_of_node' returned by
of_parse_phandle() which will increase the refcount.

Fixes: 9bae4880acee ("ASoC: qcom: move ipq806x specific bits out of lpass driver.")
Co-authored-by: Miaoqian Lin <linmq006@gmail.com>
Signed-off-by: Liang He <windhl@126.com>
Link: https://lore.kernel.org/r/20220702020109.263980-1-windhl@126.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/lpass-cpu.c