android_kernel_asus_sm8350/drivers/memory
Liang He 85a40bfb8e 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:22:31 +02:00
..
samsung memory: Convert to using %pOFn instead of device_node.name 2018-11-27 10:54:39 -06:00
tegra ARM: SoC-related driver updates 2019-07-19 17:13:56 -07:00
.gitignore memory: ti-emif-sram: move driver-specific asm-offset.h to drivers/memory/ 2019-07-17 10:25:10 +09:00
atmel-ebi.c memory: atmel-ebi: Fix missing of_node_put in atmel_ebi_probe 2022-04-20 09:19:34 +02:00
atmel-sdramc.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 340 2019-06-05 17:37:07 +02:00
brcmstb_dpfe.c ARM: SoC-related driver updates 2019-07-19 17:13:56 -07:00
da8xx-ddrctl.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
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:18:09 +02:00
emif.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
fsl_ifc.c memory: fsl_ifc: fix leak of irq and nand_irq in fsl_ifc_ctrl_probe 2021-11-17 09:48:42 +01:00
fsl-corenet-cf.c memory: fsl-corenet-cf: Fix handling of platform_get_irq() error 2020-10-29 09:57:58 +01:00
jedec_ddr_data.c ARM: SoC-related driver updates 2019-07-19 17:13:56 -07:00
jedec_ddr.h ARM: SoC-related driver updates 2019-07-19 17:13:56 -07:00
jz4780-nemc.c The main MIPS changes for a pretty light v5.3 cycle, including: 2019-07-17 09:42:03 -07:00
Kconfig ARM: SoC-related driver updates 2019-07-19 17:13:56 -07:00
Makefile Kbuild updates for v5.3 (2nd) 2019-07-20 09:34:55 -07:00
mtk-smi.c memory: mtk-smi: Fix PM usage counter unbalance in mtk_smi ops 2021-03-04 10:26:12 +01:00
mvebu-devbus.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 340 2019-06-05 17:37:07 +02:00
of_memory.c memory: of: Fix refcount leak bug in of_get_ddr_timings() 2022-10-26 13:22:31 +02:00
of_memory.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
omap-gpmc.c memory: gpmc: fix out of bounds read and dereference on gpmc_cs[] 2021-05-14 09:44:16 +02:00
pl172.c
pl353-smc.c memory: pl353-smc: Fix refcount leak bug in pl353_smc_probe() 2022-10-26 13:22:31 +02:00
ti-aemif.c memory: ti-aemif: Drop child node when jumping out loop 2021-03-04 10:26:14 +01:00
ti-emif-pm.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
ti-emif-sram-pm.S memory: ti-emif-sram: move driver-specific asm-offset.h to drivers/memory/ 2019-07-17 10:25:10 +09:00