]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd6d306560fa3e3b8e74fd63205dd21730dd6f951
tree69806e79a62095c553c81d1a769d663a0b99f26f
parente4c9b73d28a0cb4e698def83edc7a0fade3f232e
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: 41d9a7422b1e ("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