android_kernel_xiaomi_sm8350/drivers/memory
Miaoqian Lin 9250186785 memory: atmel-ebi: Fix missing of_node_put in atmel_ebi_probe
[ Upstream commit 6f296a9665ba5ac68937bf11f96214eb9de81baa ]

The device_node pointer is returned by of_parse_phandle() with refcount
incremented. We should use of_node_put() on it when done.

Fixes: 87108dc78e ("memory: atmel-ebi: Enable the SMC clock if specified")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20220309110144.22412-1-linmq006@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-20 09:19:34 +02:00
..
samsung
tegra
.gitignore
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
brcmstb_dpfe.c
da8xx-ddrctl.c
emif-asm-offsets.c
emif.c memory: emif: check the pointer temp in get_device_details() 2022-04-15 14:18:09 +02:00
emif.h
fsl_ifc.c
fsl-corenet-cf.c
jedec_ddr_data.c
jedec_ddr.h
jz4780-nemc.c
Kconfig
Makefile
mtk-smi.c
mvebu-devbus.c
of_memory.c
of_memory.h
omap-gpmc.c
pl172.c
pl353-smc.c
ti-aemif.c
ti-emif-pm.c
ti-emif-sram-pm.S