Skip to content

Commit 51a44a2

Browse files
m-atanassovayahal01
authored andcommitted
drm/komeda: Add missing of_node_get() call
komeda_pipeline_destroy has the matching of_node_put(). Fixes: 29e56ae ("drm/komeda: Add DT parsing") Signed-off-by: Mihail Atanassov <[email protected]> Reviewed-by: Ayan Kumar Halder <[email protected]> [Rebased on the latest drm-misc-fixes] Signed-off-by: Ayan Kumar Halder <[email protected]> Link: https://patchwork.freedesktop.org/patch/325278/ Change-Id: I5fa2479d6cb3a77182f1a92833c1c0bca8668cb4
1 parent 95abcd3 commit 51a44a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/arm/display/komeda/komeda_dev.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ static int komeda_parse_pipe_dt(struct komeda_dev *mdev, struct device_node *np)
127127
pipe->of_output_port =
128128
of_graph_get_port_by_id(np, KOMEDA_OF_PORT_OUTPUT);
129129

130-
pipe->of_node = np;
130+
pipe->of_node = of_node_get(np);
131131

132132
return 0;
133133
}

0 commit comments

Comments
 (0)