diff options
author | Wan Jiabing <wanjiabing@vivo.com> | 2021-10-14 10:30:17 +0200 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2021-10-24 19:12:57 +0200 |
commit | 72f1aa6205d84337b90b065f602a8fe190821781 (patch) | |
tree | 05452c0e0a89091f9ba1f5877ff7de913af10ef2 /drivers/soc/qcom/smp2p.c | |
parent | soc: qcom: qcom_stats: Fix client votes offset (diff) | |
download | linux-72f1aa6205d84337b90b065f602a8fe190821781.tar.xz linux-72f1aa6205d84337b90b065f602a8fe190821781.zip |
soc: qcom: apr: Add of_node_put() before return
Fix following coccicheck warning:
./drivers/soc/qcom/apr.c:485:1-23: WARNING: Function
for_each_child_of_node should have of_node_put() before return
Early exits from for_each_child_of_node should decrement the
node reference counter.
Fixes: 834735662602 ("soc: qcom: apr: Add avs/audio tracking functionality")
Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211014083017.19714-1-wanjiabing@vivo.com
Diffstat (limited to 'drivers/soc/qcom/smp2p.c')
0 files changed, 0 insertions, 0 deletions