Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/komeda: Add missing of_node_get() call

komeda_pipeline_destroy has the matching of_node_put().

Fixes: 29e56aec911dd ("drm/komeda: Add DT parsing")
Signed-off-by: Mihail Atanassov <mihail.atanassov@arm.com>
Reviewed-by: Ayan Kumar Halder <ayan.halder@arm.com>
[Rebased on the latest drm-misc-fixes]
Signed-off-by: Ayan Kumar Halder <ayan.halder@arm.com>
Link: https://patchwork.freedesktop.org/patch/325278/

Change-Id: I5fa2479d6cb3a77182f1a92833c1c0bca8668cb4

authored by

Mihail Atanassov and committed by
Ayan kumar halder
51a44a28 95abcd33

+1 -1
+1 -1
drivers/gpu/drm/arm/display/komeda/komeda_dev.c
··· 127 127 pipe->of_output_port = 128 128 of_graph_get_port_by_id(np, KOMEDA_OF_PORT_OUTPUT); 129 129 130 - pipe->of_node = np; 130 + pipe->of_node = of_node_get(np); 131 131 132 132 return 0; 133 133 }