linux/arch/arm/mach-imx
Dario Binacchi 25f97c9883 ARM: imx: add missing of_node_put()
[ Upstream commit 87b30c4b0e ]

Calling of_find_compatible_node() returns a node pointer with refcount
incremented. Use of_node_put() on it when done.
The patch fixes the same problem on different i.MX platforms.

Fixes: 8b88f7ef31 ("ARM: mx25: Retrieve IIM base from dt")
Fixes: 94b2bec1b0 ("ARM: imx27: Retrieve the SYSCTRL base address from devicetree")
Fixes: 3172225d45 ("ARM: imx31: Retrieve the IIM base address from devicetree")
Fixes: f68ea682d1 ("ARM: imx35: Retrieve the IIM base address from devicetree")
Fixes: ee18a7154e ("ARM: imx5: retrieve iim base from device tree")
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Martin Kaiser <martin@kaiser.cx>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-02-01 08:27:04 +01:00
..
Kconfig
Makefile
Makefile.boot
anatop.c
avic.c
common.h
cpu-imx5.c
cpu-imx25.c
cpu-imx27.c
cpu-imx31.c
cpu-imx35.c
cpu.c
cpuidle-imx5.c
cpuidle-imx6q.c
cpuidle-imx6sl.c
cpuidle-imx6sx.c
cpuidle-imx7ulp.c
cpuidle.h
crmregs-imx3.h
gpc.c
hardware.h
headsmp.S
hotplug.c
iim.h
irq-common.c
irq-common.h
mach-imx1.c
mach-imx6q.c
mach-imx6sl.c
mach-imx6sx.c
mach-imx6ul.c
mach-imx7d-cm4.c
mach-imx7d.c
mach-imx7ulp.c
mach-imx25.c
mach-imx27.c
mach-imx31.c
mach-imx35.c
mach-imx50.c
mach-imx51.c
mach-imx53.c
mach-ls1021a.c
mach-vf610.c
mm-imx3.c
mmdc.c
mx2x.h
mx3x.h
mx27.h
mx31.h
mx35.h
mxc.h
platsmp.c
pm-imx5.c
pm-imx6.c
pm-imx7ulp.c
pm-imx25.c
pm-imx27.c
resume-imx6.S
src.c
ssi-fiq-ksym.c
ssi-fiq.S
suspend-imx6.S
suspend-imx53.S
system.c
tzic.c