kernel_optimize_test/drivers/memory
Pan Bian 509fe94c19 memory: ti-aemif: Drop child node when jumping out loop
[ Upstream commit 94e9dd43cf327366388c8f146bccdc6322c0d999 ]

Call of_node_put() to decrement the reference count of the child node
child_np when jumping out of the loop body of
for_each_available_child_of_node(), which is a macro that increments and
decrements the reference count of child node. If the loop is broken, the
reference of the child node should be dropped manually.

Fixes: 5a7c81547c ("memory: ti-aemif: introduce AEMIF driver")
Signed-off-by: Pan Bian <bianpan2016@163.com>
Link: https://lore.kernel.org/r/20210121090359.61763-1-bianpan2016@163.com
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-04 11:37:25 +01:00
..
samsung ARM: SoC-related driver updates 2020-10-24 10:39:22 -07:00
tegra ARM: SoC-related driver updates 2020-10-24 10:39:22 -07:00
.gitignore
atmel-ebi.c
atmel-sdramc.c
brcmstb_dpfe.c memory: brcmstb_dpfe: Simplify with dev_err_probe() 2020-09-02 17:22:31 +02:00
bt1-l2-ctl.c
da8xx-ddrctl.c
emif-asm-offsets.c
emif.c memory: emif: Convert to DEFINE_SHOW_ATTRIBUTE 2020-09-20 18:59:19 +02:00
emif.h
fsl_ifc.c
fsl-corenet-cf.c memory: fsl-corenet-cf: Fix handling of platform_get_irq() error 2020-09-02 17:32:02 +02:00
jedec_ddr_data.c
jedec_ddr.h
jz4780-nemc.c memory: jz4780_nemc: Fix an error pointer vs NULL check in probe() 2020-12-30 11:54:27 +01:00
Kconfig memory: ti-emif-sram: only build for ARMv7 2020-12-30 11:53:37 +01:00
Makefile memory: brcmstb_dpfe: add separate entry for compile test 2020-08-17 20:44:00 +02:00
mtk-smi.c memory: mtk-smi: Fix PM usage counter unbalance in mtk_smi ops 2021-03-04 11:37:22 +01:00
mvebu-devbus.c
of_memory.c
of_memory.h
omap-gpmc.c ARM: SoC-related driver updates 2020-10-24 10:39:22 -07:00
pl172.c
pl353-smc.c
renesas-rpc-if.c memory: renesas-rpc-if: Fix unbalanced pm_runtime_enable in rpcif_{enable,disable}_rpm 2020-12-30 11:54:27 +01:00
stm32-fmc2-ebi.c
ti-aemif.c memory: ti-aemif: Drop child node when jumping out loop 2021-03-04 11:37:25 +01:00
ti-emif-pm.c
ti-emif-sram-pm.S