android_kernel_motorola_sm6225/drivers/memory
Liang He 68c9c4e649 memory: of: Fix refcount leak bug in of_get_ddr_timings()
[ Upstream commit 05215fb32010d4afb68fbdbb4d237df6e2d4567b ]

We should add the of_node_put() when breaking out of
for_each_child_of_node() as it will automatically increase
and decrease the refcount.

Fixes: e6b42eb6a6 ("memory: emif: add device tree support to emif driver")
Signed-off-by: Liang He <windhl@126.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220719085640.1210583-1-windhl@126.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-10-26 13:19:28 +02:00
..
samsung memory: samsung: Add SPDX license identifiers 2018-02-12 19:55:34 +01:00
tegra memory: tegra: Don't invoke Tegra30+ specific memory timing setup on Tegra20 2020-01-27 14:50:13 +01:00
atmel-ebi.c memory: atmel-ebi: Fix missing of_node_put in atmel_ebi_probe 2022-04-20 09:12:48 +02:00
atmel-sdramc.c
brcmstb_dpfe.c memory: brcmstb: dpfe: Remove need for dpfe_dev 2018-05-09 12:15:26 -07:00
da8xx-ddrctl.c
emif-asm-offsets.c ARM: OMAP2+: Fix build when using split object directories 2018-04-18 10:07:13 -07:00
emif.c memory: emif: check the pointer temp in get_device_details() 2022-04-15 14:14:46 +02:00
emif.h
fsl-corenet-cf.c memory: fsl-corenet-cf: Fix handling of platform_get_irq() error 2020-10-30 10:38:24 +01:00
fsl_ifc.c memory: fsl_ifc: fix leak of irq and nand_irq in fsl_ifc_ctrl_probe 2021-11-26 11:36:13 +01:00
jz4780-nemc.c
Kconfig drivers/memory/Kconfig: Add CONFIG_OF dependency 2018-07-31 09:46:06 +02:00
Makefile memory: tegra: Squash tegra20-mc into common tegra-mc driver 2018-04-30 10:10:00 +02:00
Makefile.asm-offsets
mtk-smi.c
mvebu-devbus.c
of_memory.c memory: of: Fix refcount leak bug in of_get_ddr_timings() 2022-10-26 13:19:28 +02:00
of_memory.h
omap-gpmc.c memory: gpmc: fix out of bounds read and dereference on gpmc_cs[] 2021-05-22 10:59:27 +02:00
pl172.c
ti-aemif.c memory: ti-aemif: Drop child node when jumping out loop 2021-03-04 09:39:34 +01:00
ti-emif-pm.c memory: ti-emif-sram: Add resume function to recopy sram code 2018-06-26 10:05:17 -07:00
ti-emif-sram-pm.S