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: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> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com> Reviewed-by:
Wei Li <liwei391@huawei.com>
Loading
Please sign in to comment