soc: qcom: smsm: Fix missing of_node_put() in smsm_parse_ipc
stable inclusion from stable-v5.10.121 commit a409d0b1f92906e5df0f2ff02f6fe8c319f24869 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I5L6CQ Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=a409d0b1f92906e5df0f2ff02f6fe8c319f24869 -------------------------------- [ Upstream commit aad66a3c ] The device_node pointer is returned by of_parse_phandle() with refcount incremented. We should use of_node_put() on it when done. Fixes: c97c4090 ("soc: qcom: smsm: Add driver for Qualcomm SMSM") Signed-off-by: NMiaoqian Lin <linmq006@gmail.com> Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220308073648.24634-1-linmq006@gmail.comSigned-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com> Acked-by: NXie XiuQi <xiexiuqi@huawei.com>
Showing
想要评论请 注册 或 登录