linux/drivers/soc/qcom
Miaoqian Lin 92a563fcf1 soc: qcom: ocmem: Fix refcount leak in of_get_ocmem
of_parse_phandle() returns a node pointer with refcount
incremented, we should use of_node_put() on it when not need anymore.
Add missing of_node_put() to avoid refcount leak.
of_node_put() will check NULL pointer.

Fixes: 88c1e9404f ("soc: qcom: add OCMEM driver")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Reviewed-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220602042430.1114-1-linmq006@gmail.com
2022-06-30 21:50:46 -05:00
..
apr.c soc: qcom: apr: Drop redundant check in .remove() 2022-06-25 22:01:02 -05:00
cmd-db.c soc: qcom: cmd-db: replace strscpy_pad() with strncpy() 2022-06-28 14:44:44 -05:00
cpr.c PM: AVS: qcom-cpr: Use div64_ul instead of do_div 2021-12-20 19:10:09 -06:00
Kconfig qcom: spm: allow compile-testing 2021-10-26 20:01:40 +02:00
kryo-l2-accessors.c soc: qcom: kryo-l2-accessors: Fix misnaming of 'val' 2020-11-10 23:23:02 -06:00
llcc-qcom.c soc: qcom: llcc: Add sc8180x and sc8280xp configurations 2022-05-04 11:39:40 -05:00
Makefile soc: qcom: Add Sleep stats driver 2021-10-16 18:23:30 -05:00
mdt_loader.c soc: qcom: correct kerneldoc 2022-06-25 22:05:31 -05:00
ocmem.c soc: qcom: ocmem: Fix refcount leak in of_get_ocmem 2022-06-30 21:50:46 -05:00
pdr_interface.c soc: qcom: pdr: replace usage of found with dedicated list iterator variable 2022-04-07 22:20:27 -05:00
pdr_internal.h soc: qcom: pdr: use static for servreg_* variables 2022-05-05 22:08:15 -05:00
qcom_aoss.c soc: qcom: aoss: remove spurious IRQF_ONESHOT flags 2022-01-31 18:12:20 -06:00
qcom_gsbi.c soc: qcom: gsbi: Make use of the helper function devm_platform_ioremap_resource() 2021-09-21 17:41:48 -05:00
qcom_stats.c soc: qcom: stats: Add fixed sleep stats offset for older RPM firmwares 2021-12-20 19:10:09 -06:00
qcom-geni-se.c soc: qcom: geni: Make use of the helper function devm_platform_ioremap_resource() 2021-09-21 17:41:48 -05:00
qmi_encdec.c soc: qcom: Fix typos in the file qmi_encdec.c 2021-03-11 20:22:20 -06:00
qmi_interface.c soc: qcom: qmi: Fix a typo in a comment 2021-11-18 14:21:56 -06:00
rmtfs_mem.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
rpmh-internal.h soc: qcom: rpmh-rsc: Sleep waiting for tcs slots to be free 2020-09-10 16:56:12 +00:00
rpmh-rsc.c soc: qcom: rpmh-rsc: Fix typo in a comment 2021-12-20 19:10:11 -06:00
rpmh.c soc: qcom: rpmh: Use __fill_rpmh_msg API during rpmh_write() 2020-11-26 11:43:00 -06:00
rpmhpd.c soc: qcom: rpmhpd: fix typos in comment 2022-06-25 22:36:13 -05:00
rpmpd.c soc: qcom: rpmpd: Add MSM8226 support 2022-02-24 14:12:34 -06:00
smd-rpm.c soc: qcom: smd-rpm: Add QCM2290 compatible 2021-09-21 17:41:49 -05:00
smem_state.c soc: qcom: smem_state: Add devm_qcom_smem_state_get() 2021-06-23 13:35:12 -05:00
smem.c soc: qcom: smem: validate fields of shared structures 2022-04-12 21:29:58 -05:00
smp2p.c soc: qcom: correct kerneldoc 2022-06-25 22:05:31 -05:00
smsm.c soc: qcom: smsm: Fix missing of_node_put() in smsm_parse_ipc 2022-04-07 22:17:03 -05:00
socinfo.c soc: qcom: socinfo: Add an ID for sc7180P 2022-06-25 14:52:39 -05:00
spm.c soc: qcom: spm: Add 8916 SPM register data 2021-10-23 22:15:46 -05:00
trace-rpmh.h
wcnss_ctrl.c soc: qcom: wcnss_ctrl: Allow reading firmware-name from DT 2021-04-05 22:35:06 -05:00