Commit 752c14c8 authored by Liang He's avatar Liang He Committed by Zheng Zengkai
Browse files

ASoC: qcom: Fix missing of_node_put() in asoc_qcom_lpass_cpu_platform_probe()

stable inclusion
from stable-v5.10.137
commit 2f735069cdc16fe132b7ffebed0f05e4db9a57c2
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I60PLB

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=2f735069cdc16fe132b7ffebed0f05e4db9a57c2



--------------------------------

[ Upstream commit f507c0c6 ]

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

Fixes: 9bae4880 ("ASoC: qcom: move ipq806x specific bits out of lpass driver.")
Co-authored-by: default avatarMiaoqian Lin <linmq006@gmail.com>
Signed-off-by: default avatarLiang He <windhl@126.com>
Link: https://lore.kernel.org/r/20220702020109.263980-1-windhl@126.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Reviewed-by: default avatarWei Li <liwei391@huawei.com>
parent edac2a70
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment