OrangePi_CM5/drivers/gpu/drm/pl111
Liang He 5e25bfcd12 drm:pl111: Add of_node_put() when breaking out of for_each_available_child_of_node()
[ Upstream commit e0686dc6f2252e009c455fe99e2ce9d62a60eb47 ]

The reference 'child' in the iteration of for_each_available_child_of_node()
is only escaped out into a local variable which is only used to check
its value. So we still need to the of_node_put() when breaking of the
for_each_available_child_of_node() which will automatically increase
and decrease the refcount.

Fixes: ca454bd42d ("drm/pl111: Support the Versatile Express")
Signed-off-by: Liang He <windhl@126.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20220711131550.361350-1-windhl@126.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-10-26 13:25:24 +02:00
..
Kconfig drm/pl111: Actually fix CONFIG_VEXPRESS_CONFIG depends 2021-07-14 16:56:19 +02:00
Makefile
…
pl111_debugfs.c
…
pl111_display.c
…
pl111_drm.h
…
pl111_drv.c amba: Make the remove callback return void 2022-04-08 14:40:02 +02:00
pl111_nomadik.c
…
pl111_nomadik.h
…
pl111_versatile.c drm:pl111: Add of_node_put() when breaking out of for_each_available_child_of_node() 2022-10-26 13:25:24 +02:00
pl111_versatile.h
…